From patchwork Wed May 30 10:45:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Chen X-Patchwork-Id: 922715 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-92824-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=andestech.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="S9rosjUM"; 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 40wnQz2qW5z9s1b for ; Wed, 30 May 2018 20:49:31 +1000 (AEST) 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=wyPge fvljk95+vT1l85NJcobBNLU54s0CUB5dT58eGushyYPxaSo/E21ySQw/pToFZknQ KQ8UVSNg6ZR4Go/3QF+c5vrOmQePWiGA/qoNplPPsOWGH7mhEKb2Ha7HwyDeQxoH wg9bmyWmiqFDMtZlogBNY50Wy84l+Kk/SGz3xE= 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=v7SQM+W1Id1 nWML8YsEKAJKklaY=; b=S9rosjUMn/qlKU+bS+NvS980eb265bKwj/u49i5iDQs ivoPbd7wi6eFSm/rwIJzSpgc86vTAFiadcqi+adJ81qoeXltf+PK7UMQXBPHd5cM b2C5uJalQ8XImdM+Pm0jB6Cu3JLaH1t5ks6WA/XihJZvRqniqfWgjH1LOJoiSAN8 = Received: (qmail 110129 invoked by alias); 30 May 2018 10:47:09 -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 109968 invoked by uid 89); 30 May 2018 10:47:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.7 required=5.0 tests=AWL, 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=30214 X-HELO: ATCSQR.andestech.com From: Vincent Chen To: , CC: , , Subject: [PATCH v2 12/12] Add nds32 port to build-many-glibcs.py Date: Wed, 30 May 2018 18:45:42 +0800 Message-ID: <1527677142-10406-13-git-send-email-vincentc@andestech.com> In-Reply-To: <1527677142-10406-1-git-send-email-vincentc@andestech.com> References: <1527677142-10406-1-git-send-email-vincentc@andestech.com> MIME-Version: 1.0 X-DNSRBL: X-MAIL: ATCSQR.andestech.com w4UAmB7m005894 From: Che-Wei Chuang The nds32 toochain cannot be generated successfully by this patch because the nds32 port of Binutils and GCC on upstream is too old. This patch is used to help reviewer to review the glibc port for Andes nds32 ISA. 2018-05-30 Che-Wei Chuang * scripts/build-many-glibcs.py (Context): Add nds32 targets. (Config): Likewise. --- scripts/build-many-glibcs.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 19411c1..ca015d0 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -302,6 +302,14 @@ class Context(object): 'ccopts': '-mabi=32'}, {'variant': 'n64-nan2008-soft', 'ccopts': '-mabi=64'}]) + self.add_config(arch='nds32le', + os_name='linux-gnu', + gcc_cfg=['--with-nds32-lib=glibc', + '--with-arch=v3', '--with-cpu=n13', + '--enable-default-relax=no', + '--with-nds32-lib=glibc', + '--disable-libsanitizer', + '--disable-multilib']) self.add_config(arch='nios2', os_name='linux-gnu') self.add_config(arch='powerpc', @@ -1256,6 +1264,7 @@ class Config(object): 'm68k': 'm68k', 'microblaze': 'microblaze', 'mips': 'mips', + 'nds32': 'nds32', 'nios2': 'nios2', 'powerpc': 'powerpc', 's390': 's390',