From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17468 invoked by alias); 7 May 2013 17:10:55 -0000 Mailing-List: contact prelink-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: prelink-owner@sourceware.org Received: (qmail 17412 invoked by uid 89); 7 May 2013 17:10:55 -0000 X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 07 May 2013 17:10:54 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1UZlPg-0006ni-KB from Tom_deVries@mentor.com ; Tue, 07 May 2013 10:10:52 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 7 May 2013 10:10:52 -0700 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Tue, 7 May 2013 18:10:50 +0100 Message-ID: <51893592.3060909@mentor.com> Date: Tue, 07 May 2013 17:10:00 -0000 From: Tom de Vries User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jakub Jelinek CC: Subject: Re: [PATCH] Add LINKOPTS to CCLINK and CXXLINK in testsuite/Makefile.am References: <5188F4B0.7050309@mentor.com> <20130507124043.GD28963@tucnak.redhat.com> <51890E03.2000009@mentor.com> <20130507142816.GE28963@tucnak.redhat.com> <518912CA.1000903@mentor.com> <20130507144719.GF28963@tucnak.redhat.com> In-Reply-To: <20130507144719.GF28963@tucnak.redhat.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2013-q2/txt/msg00006.txt.bz2 On 07/05/13 16:47, Jakub Jelinek wrote: > On Tue, May 07, 2013 at 04:42:18PM +0200, Tom de Vries wrote: >> $ ld --version >> GNU ld (GNU Binutils for Ubuntu) 2.22 >> ... >> >> I'll try to build and run the tests using a build of upstream binutils, and see >> if that fixes it. > > The only issue I was aware of were ifunc*.sh failures (caused by some > recentish ifunc handling change in ld.bfd, fixed recently), but that was > just a few months, and also another December 2012ish ld change that broke > the --as-needed handling (the recent testsuite changes should fix that up). > The failures where not due to ld, but due to ubuntu gcc, which passes --as-needed to the linker by default. Using a gcc build from upstream, all the tests pass. The failures I saw can still be reproduced with upstream gcc by setting --as-needed like this: ... $ make check CC='gcc -Wl,--as-needed' CXX='g++ -Wl,--as-needed' ... I think the changes in the testsuite that you were referring to earlier in this thread were related to --add-needed/--no-add-needed, not --as-needed/--no-as-needed. The option names -add-needed/--no-add-needed have already been deprecated for being too much like -as-needed/--no-as-needed. Thanks, - Tom