From patchwork Tue Dec 18 21:04:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1015644 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-98530-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="Hf4vIcpH"; dkim=pass (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="PEAQGucV"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43K9bs2kntz9s3Z for ; Wed, 19 Dec 2018 08:08:25 +1100 (AEDT) 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:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; q=dns; s=default; b=I61fO 3b3fJu7tIcpq0mlz+ARWLm5f12nCZXm4ENLylG3UE9VaDTJSpGYcfaQTOubbfMK+ +sInbcvZae0Z+YzRCWwIgs0YFihOL1tNy2Kxw0rJfCMuccI5ZXjNtZ2LSDn5ntC3 M/h7lcNE8yt9yoN17xYJL6tjkFKqnIMR+v2kXg= 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:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; s=default; bh=RWn39KqZlxP 6E+pUmx833yI14pY=; b=Hf4vIcpHk+feIV2SOuwEF7KIih8VB3LL7WfODnJbN5p LQML6/ZTvKPqUyhwu5feUo/2fI4WlvC1Z7S7ahIrzFiuk2E+5AbKulEkGKJEcQ69 5hZVJyb6JxS0x99f/iyauvdo1iqCCKD931YOt/xRTL0W8r5iAKHEVYfIpmOGHVV4 = Received: (qmail 59880 invoked by alias); 18 Dec 2018 21:05:51 -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 58422 invoked by uid 89); 18 Dec 2018 21:05:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: smtprelay.synopsys.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1545167135; bh=WkKz4k1YYCqek9WwQEKyKrwZtkb/LnmHPw8XbLaEC0U=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=PEAQGucV0z6d/U3wsEQb1dEqtjskQvkor0vnEq0ZbMM/AK2Q5jSWv67omOWR2xwFM dMDEAHT+qEuhwFyYg/V10QFYYCTeIR59uTOqdqNhMt8Tl6g1GjMxzdo7dk/mC0wFau 6NaCACwbvVY/zQ91Y6MRCNivvVi+6q5iZeVnj3fLPHJSB1Y2ReQ/S3N/L1iyDVhHxD wbe3Jxqk4lco67gi3lkLTHszGNDFK4AQcsU8hNQ/XQAegd347fP5YRJ+E7MGvZboj4 2iFQEZ9CxZlkft/Zsu9T1SBgLdsHvoX7aCj49H65+WgUNyn/8eqY63Nv++QNxOyPWE B6MHn70fh7KQA== From: Vineet Gupta To: CC: , Vineet Gupta Subject: [PATCH 20/21] build-many-glibcs.py: Enable ARC builds Date: Tue, 18 Dec 2018 13:04:42 -0800 Message-ID: <1545167083-16764-21-git-send-email-vgupta@synopsys.com> In-Reply-To: <1545167083-16764-1-git-send-email-vgupta@synopsys.com> References: <1545167083-16764-1-git-send-email-vgupta@synopsys.com> MIME-Version: 1.0 Signed-off-by: Vineet Gupta --- ChangeLog | 4 ++++ scripts/build-many-glibcs.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 376d0e401117..46d288808153 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-12-17 Vineet Gupta + + * scripts/build-many-glibcs.py: Enable building for ARC. + 2018-12-17 Cupertino Miranda * sysdeps/arc/dl-machine.h: Fix relocation. diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 9051ff17b19d..97e9bedabe0c 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -155,6 +155,9 @@ class Context(object): 'cfg': ['--disable-multi-arch']}]) self.add_config(arch='aarch64_be', os_name='linux-gnu') + self.add_config(arch='arc', + os_name='linux-gnu', + gcc_cfg=['--disable-multilib', '--with-cpu=archs']) self.add_config(arch='alpha', os_name='linux-gnu') self.add_config(arch='arm', @@ -1258,6 +1261,7 @@ class Config(object): def install_linux_headers(self, cmdlist): """Install Linux kernel headers.""" arch_map = {'aarch64': 'arm64', + 'arc': 'arc', 'alpha': 'alpha', 'arm': 'arm', 'hppa': 'parisc',