From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpcmd0651.aruba.it (smtpcmd0651.aruba.it [62.149.156.51]) by sourceware.org (Postfix) with ESMTP id EFFB0385AC38 for ; Sat, 14 Aug 2021 22:32:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EFFB0385AC38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=benettiengineering.com Received: from [192.168.47.129] ([141.136.135.234]) by Aruba Outgoing Smtp with ESMTPSA id F2CMm5TNTxC2nF2CNmeC0G; Sun, 15 Aug 2021 00:32:15 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1628980335; bh=R2fShEeiGGa/T08OkSpvMYHDEdrCYWcATVeTGHFp6aE=; h=Subject:To:From:Date:MIME-Version:Content-Type; b=J+HAk6t9L8Enu+bqDi+i1ztmrf9b6bfr5DeAxi+fL2/d01yBWE3HxXXquO6mletwS CLDHR8c5VVmVa0G7zO38Pr3LCZ7W8DjRyHWMO46G2Q2B/S/bakpmT1dIJTNhzqD6fs WpNAPnNky26Clst7YxOWUhp09FRjqdjVOtTLFty9zD2tei/uPXB4aif6GexaOnd6i9 4QFAACJGgq2IYCtq9FGiltlLyhsHUhtGSjDM/OYkaV12FYpZa2RRV7tbk6AU/AjA57 EL0LXLWjf/Sbxof0S4+0Hqh6m/NE/Dlr/mVPZwLCc2b6ISOwaMiFo3zN/iM5I5aks4 5I+eejTvyh9oA== Subject: Re: [PATCH v2 0/2] OpenRISC support for cmodel=large To: Stafford Horne Cc: GCC patches , Richard Henderson , Openrisc References: <20210501211145.2980164-1-shorne@gmail.com> <9e4b2d98-5ba1-c35f-b419-3df2d84a5dab@benettiengineering.com> From: Giulio Benetti Message-ID: <91cc29d6-f578-d1c3-9626-28f0b5f47c97@benettiengineering.com> Date: Sun, 15 Aug 2021 00:32:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfCKncEjachBCOpaZY36g892Ofs7+T3Bg9HDpgF41YN8oxLtriYmnvedtoz2cqi59HP1Q+07GN1Z8M3KPW9QnaMGbprTRzxWT6dgnzXppGAUZ3Wn8ddQC NzERvpOGBDCLDnho9URYtV/Hih+hjKowLTAQoupCqBE/8y43Ge3AW2mvHGJFacToZO7C3PGMV/qfGGBqlOJMSeh1PHh74GdkBubqOgCpqzXxRflxCiFIJ4J7 4tStcY7lAhdiky19HUzgJCXFpl1cNT+sqmRnr0V/n/0XzWSxWNQujc70nJmlXGazG4roR6q/+h0aiVmsvLPAfA== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2021 22:32:29 -0000 On 8/15/21 12:25 AM, Stafford Horne wrote: > On Sun, Aug 15, 2021 at 12:05:37AM +0200, Giulio Benetti wrote: >> On 8/15/21 12:03 AM, Stafford Horne wrote: >>> On Sat, Aug 14, 2021 at 11:01:16PM +0200, Giulio Benetti wrote: >>>> Hi All, >>>> >>>> On 5/1/21 11:11 PM, Stafford Horne wrote: >>>>> Changes from v1: >>>>> - Added patch to enabled cmodle=large on crtstuff >>>>> >>>>> This series fixes some bugs found when linking large binaries, both in buildroot >>>>> and glibc testing. >>>>> >>>>> Stafford Horne (2): >>>>> or1k: Add mcmodel option to handle large GOTs >>>>> or1k: Use cmodel=large when building crtstuff >>>>> >>>>> gcc/config/or1k/or1k-opts.h | 30 ++++++++++++++++++++++++++++++ >>>>> gcc/config/or1k/or1k.c | 11 +++++++++-- >>>>> gcc/config/or1k/or1k.h | 7 +++++++ >>>>> gcc/config/or1k/or1k.opt | 19 +++++++++++++++++++ >>>>> gcc/doc/invoke.texi | 12 +++++++++++- >>>>> libgcc/config.host | 4 ++-- >>>>> libgcc/config/or1k/t-crtstuff | 2 ++ >>>>> 7 files changed, 80 insertions(+), 5 deletions(-) >>>>> create mode 100644 gcc/config/or1k/or1k-opts.h >>>>> create mode 100644 libgcc/config/or1k/t-crtstuff >>>>> >>>> >>>> I've tested this patchset and works as expected. >>>> It fixed libgeos build failure in conjunction with: >>>> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3c3de29b048bca6b4aa4235c647b9328e71801b6 >>>> >>>> Hope this helps to commit it upstream since I still don't see it, or am I >>>> wrong? >>> >>> You are not wrong, I did not push the changed to GCC yet. I will do soon. >> >> Ah ok, you're the maintainer :-) I thought there was someone else who needed >> to push it :-) > > Yeah, I pushed it now. Awesome, just seen now. Buildroot is already Openrisc toolchain bug free, only we have to wait for external toolchain to be rebuilt with suck patches. So we've got OpenRisc back to life :-). Thank you! -- Giulio Benetti Benetti Engineering sas