From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7924 invoked by alias); 4 Jun 2013 13:54:19 -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 7625 invoked by uid 55); 4 Jun 2013 13:54:09 -0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/47333] [4.8 regression] g++.dg/lto/20091219 FAILs on Solaris 2 with SUN as Date: Tue, 04 Jun 2013 13:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.4 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-06/txt/msg00175.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333 --- Comment #40 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #38 from Jan Hubicka --- >> Unfortunately, that doesn't easily backport to the 4.8 branch since that lacks >> alias and alias_target in struct symtab_node_base: > > I know. Weakrefs was quite broken in 4.8 (and anything earlier) and more so on > non-weakref assemblers (even when you do not get ICE nor link error, you still > get wrong references output so the final program will not work since it won't > connect weakref with its target). I see. At least all testcases passed in 4.7 both with and without weakref support in the assembler. > I can backport the whole series of patches, but I would like to understand how > important it is. Solaris libc is using weakrefs w/o weakref support in > toolchain, or does the weakref come from some of GNU libraries in it? The Solaris toolchain (as, ld) knows nothing about weakrefs, so far I've seen failures only in the gcc testsuite, no reports in the wild. Rainer