From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2871 invoked by alias); 22 May 2013 14:44:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 2834 invoked by uid 55); 22 May 2013 14:44:23 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/57366] gcc.dg/lto/attr-weakref-1 FAILs Date: Wed, 22 May 2013 14:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg01565.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57366 --- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #4 from Jan Hubicka --- > Thank you. It seems that the weakref is simply not output into the file, so we > end up with undefined call. Which may or may not be the same problem as in PR lto/47333. > What happens when you compile the following manually concatenated testcase w/o > LTO? If it links, can you attach the assembly? I am bit unsure how non-weakref > targets are supposed to behave in situations like this. It links without problems. > I convinced myself that for LTO one needs GNU binutils and thus weakref is > supported, but it is obviously not always the case ;) All other LTO testcases have long worked with Solaris as and ld (i.e. without weakref and linker plugin), and until the 4.7 branch with gas and IRIX ld. Rainer