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 Netto X-Patchwork-Id: 23513 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(-) 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',