From patchwork Thu Oct 12 21:09:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 115678 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2376051qgn; Thu, 12 Oct 2017 14:10:21 -0700 (PDT) X-Received: by 10.98.35.75 with SMTP id j72mr3173338pfj.82.1507842621533; Thu, 12 Oct 2017 14:10:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507842621; cv=none; d=google.com; s=arc-20160816; b=Klt/rRuRuX8FQdjn3XYuvh9dZAE1ro1uybl+37TVA7nHEP0MSJ2KbH38WcuFIz3vYY znzolXJqQghTi3krVk/zU+WHcNkuNvaw6WrX2g2H5lf4KI3Bm0mgKyYSD97HnosMHnfW qDp1CJ7sNF+o5Uvlveu3N6C1gjeQa7zGgfz8Y44PD21lRDpInT6DryL79PEF8Fmk7rzO x1V87jWE6aA3+pE5a7yTEFjySX9NDtOvJBQBXfxm6nrzxalNP790YZvazHF7VnrDX5sD DdUPpwDfVIOjPH/jE/LD778g1F6WPgf3KpZzJXAj1XmLJyLigMNKck/0CYPSPHTrwNdl rhOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=9VrDMqQfowUabzJQ7P1VOaRRT5H4CBrsNgGsDkFEc64=; b=BXf3KCIdsodRIFZ8g8sAnvZ8nO/FxABF/Yskx0h9OY2UlpdWKAK/qKTv9ORC61nqub h/3/fZXVa5ep6vuOkZGBDa9LRmnjBtpN4GZuFsZ6exao07O+ow50yf0YCkUSl5o7ir0I N08vVHzM1pwNzsq3Q6Db249huLOeEJLfHd9qVUoSaf3WbOZR331q5eByc5VWjM3c2FpT SbmWvLfO12sFejAyXE4+sMQyk9eCgTVR08jqI1IIpWFK/4N0LdhmXpMyyqUzjtiFD6aA /4LRvVq+SLp5HdfufColFGZPes4etN7YeLugU3ZeiEEHcT/geYVkm/v9Q89p/W8+z8Fj 6MxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=ccRCJn29; spf=pass (google.com: domain of libc-alpha-return-85763-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-85763-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id t24si11688788pfj.580.2017.10.12.14.10.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Oct 2017 14:10:21 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-85763-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=ccRCJn29; spf=pass (google.com: domain of libc-alpha-return-85763-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-85763-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=hr+fsYcutXsscinmGgK6swZX/+B+JdE CAztCpZw8Gi9FAyJ9csVxa7CtwinMXcP/RNSc4s0qWx3mm0yiHXClrLicJaumz9Y NITfZYQzAfO9DKsIDijNqUFupOQ0x8Ct7r1ezz0jVXqWqrBKh8G7WzIP81bkuJY0 9i3069lP/NKE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=3wQbUz9JZ6TNQ3vtVq5l1vbgSyA=; b=ccRCJ n29Vwaf5dxTJ4n2eA+n+OfE64m2MVI4fA4uRVedx8FgUqRDk+nPqngCRUaZGTXll sBZXlFlxLokK3NFIapyf6u5lYHJFlSVB4aL4NNHQzYWcVW5m0IITgZ0ivqQrHcrj +J11axvGsm3uClKv7giMFWpw1D2rR4j7cktIhE= Received: (qmail 101677 invoked by alias); 12 Oct 2017 21:10:00 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 101488 invoked by uid 89); 12 Oct 2017 21:10:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1192 X-HELO: mail-qk0-f176.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=9VrDMqQfowUabzJQ7P1VOaRRT5H4CBrsNgGsDkFEc64=; b=nWaGrMIlFQ5TH67bTERw78UkRCkjw1vhM6BU9Yqo5G7go5NJ27wDAmg4V0DHHsNDlE NcpHdr6W/GI04ZVOdU/WnbQUhTvWppAMYflVH5ctd21Szfj9qdOGfc5j3zw0mg7EKZxi dJbyay6rTSuKsd+MPxfmLtItT3oOVpSaJCyuQ83eT77AB7KSVNNFUO1pvgqAOw69he2G 5L1qOeBUyRXXLwOXfh1UpE/H0WppqWEYuqL4oYOc3Dse7qP6TUb4Oqr1g5k+teSQ0ugV RV96qrmv00rTnUdSGwjt6u5IQ0f1UBC4IR2mEqi98H6mzCEXiDgOjJSmg3fFvX/EjNcV myrw== X-Gm-Message-State: AMCzsaUWKU/J2pun8MnnUvXJOCYvJRW2RgoTL2BgEUj2IVmRHEN+dKL0 2k0L08bhqSJlIbrYwgN4bk6v8xIe7Kw= X-Google-Smtp-Source: ABhQp+Rj4mcOPYMWSHOT2PudD37tDWNTjKnnL6bR0V8NO0zDN8Wyl+2QbFgpTijAKIAdKx0/Gi//WA== X-Received: by 10.233.221.66 with SMTP id r63mr2480574qkf.79.1507842597291; Thu, 12 Oct 2017 14:09:57 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 3/5] Add build-many-glibcs.py arm-linux-gnueabihf-v7{-disable-multiarch} Date: Thu, 12 Oct 2017 18:09:42 -0300 Message-Id: <1507842584-28674-3-git-send-email-adhemerval.zanella@linaro.org> In-Reply-To: <1507842584-28674-1-git-send-email-adhemerval.zanella@linaro.org> References: <1507842584-28674-1-git-send-email-adhemerval.zanella@linaro.org> This patch adds two extra configuration for arm-linux-gnueabihf to cover for multiarch support: 1. arm-linux-gnueabihf-v7a: enables multiarch support by using -march=armv7a. 2. Same as 1. but with --disable-multiarch. Check with build-many-glibcs.py for both options. * scripts/build-many-glibcs.py (Context.add_all_configs): Add arm-linux-gnueabihf multiarch extra_glibcs. --- ChangeLog | 3 +++ scripts/build-many-glibcs.py | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index a6c01f9..4cd0a81 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -174,7 +174,12 @@ class Context(object): variant='be8', gcc_cfg=['--with-arch=armv7-a']) self.add_config(arch='arm', - os_name='linux-gnueabihf') + os_name='linux-gnueabihf', + extra_glibcs=[{'variant': 'v7a', + 'ccopts': '-march=armv7a'}, + {'variant': 'v7a-disable-multi-arch', + 'ccopts': '-march=armv7a', + 'cfg': ['--disable-multi-arch']}]) self.add_config(arch='armeb', os_name='linux-gnueabihf') self.add_config(arch='armeb',