From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2438 invoked by alias); 24 Sep 2009 08:24:34 -0000 Received: (qmail 2419 invoked by uid 22791); 24 Sep 2009 08:24:32 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from adelie.canonical.com (HELO adelie.canonical.com) (91.189.90.139) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Sep 2009 08:24:26 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1Mqjcj-0000Oy-1i; Thu, 24 Sep 2009 09:24:21 +0100 Received: from dslb-088-073-096-006.pools.arcor-ip.net ([88.73.96.6] helo=[192.168.42.17]) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Mqjci-0000Pr-Uy; Thu, 24 Sep 2009 09:24:21 +0100 Message-ID: <4ABB2CB3.8090800@ubuntu.com> Date: Thu, 24 Sep 2009 08:26:00 -0000 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090914 Shredder/3.0b4pre MIME-Version: 1.0 To: Andrew Haley CC: Jakub Jelinek , Alexandre Oliva , Nathan Froyd , GCC Patches , Paolo Carlini , GCJ-patches , Richard Earnshaw Subject: Re: [ping] Re: [patch] PR40134, use a linker script on arm-linux to link with -lgcc_s -lgcc References: <4A530F5C.4040500@ubuntu.com> <20090707091425.GB4462@tyan-ft48-01.lab.bos.redhat.com> <4A5B32BB.5010308@ubuntu.com> <20090909112436.GV14664@tyan-ft48-01.lab.bos.redhat.com> <4AAA8510.8060906@ubuntu.com> <4AB8C07D.3010807@ubuntu.com> <4AB8F3C2.60909@redhat.com> In-Reply-To: <4AB8F3C2.60909@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg01689.txt.bz2 On 22.09.2009 17:56, Andrew Haley wrote: > Matthias Klose wrote: >> On 11.09.2009 19:12, Matthias Klose wrote: > >>> Applied and checked the attach patch on top of your patch, ran the >>> testsuite without regressions (applied the patch for pr40133 from Paolo >>> for the same test run as well). >>> >>> Matthias >> >> updated the patch to only for arm*-*-linux-*eabi; test results at >> http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg02000.html >> >> Ok for the trunk? > > I'm not at all happy that backtraces are failing now on Java, but I guess your > patch didn't cause that. OK by me. Without this patch, the build of libjava fails on arm*-*-linux-*eabi: /usr/bin/ld: .libs/jv-convert: hidden symbol `__sync_synchronize' in /root/gcc/newgccsnapshot/gcc-snapshot-20090919/build/./gcc/libgcc.a(linux-atomic.o) is referenced by DSO /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[5]: *** [jv-convert] Error 1 Full buildlog at http://people.debian.org/~doko/tmp/snapshot.log.bz2 The reason for this is not linking the shared libgcj with -lgcc. Am I allowed to check in this patch to fix the build failure, or do I have to wait for an approval of an ARM maintainer? Matthias