From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12884 invoked by alias); 15 Jun 2012 19:43:46 -0000 Received: (qmail 12872 invoked by uid 22791); 15 Jun 2012 19:43:44 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jun 2012 19:43:31 +0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/53675] [4.8 Regression] bootstrap fails on netbsd5.1 due to unsupported dwarf4 info Date: Fri, 15 Jun 2012 19:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-06/txt/msg01045.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53675 --- Comment #1 from Jonathan Wakely 2012-06-15 19:43:30 UTC --- Created attachment 27627 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27627 Build log with new binutils Using a newer binutils (2.22) the errors about dwarf4 are gone, but the multiple definition errors remain. GCC still shouldn't be issuing DWARF4 info when the linker doesn't support it and --with-dwarf2 is used, but that's not the problem. Every file that includes and uses std::call_once gets a multiple definition error for the lambda expression on line 815 ../src/c++11/.libs/libc++11convenience.a(future.o): In function `operator()': /home/jwakely/build/x86_64-unknown-netbsd5.1/libstdc++-v3/include/mutex:815: multiple definition of `void std::call_once >(std::once_flag&, void (std::thread::*&&)(), std::reference_wrapper&&)::{lambda()#1}::_FUN()' .libs/compatibility-thread-c++0x.o:/home/jwakely/build/x86_64-unknown-netbsd5.1/libstdc++-v3/include/mutex:815: first defined here I'll try to reproduce this on other platforms by using --disable-tls, so that code path is taken.