From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21160 invoked by alias); 15 Nov 2011 08:36:46 -0000 Received: (qmail 20890 invoked by uid 22791); 15 Nov 2011 08:36:43 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Tue, 15 Nov 2011 08:36:31 +0000 From: "markus at trippelsdorf dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/51113] [4.7 regression] rev. 181105 causes Firefox profiledbuild failure Date: Tue, 15 Nov 2011 09:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at trippelsdorf dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2011-11/txt/msg01491.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51113 --- Comment #5 from Markus Trippelsdorf 2011-11-15 08:36:01 UTC --- Take the first error as an example: jsoptparse.i_o:jsoptparse.cpp:function vtable for js::cli::detail::StringOption: warning: relocation refers to discarded section /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: hidden symbol '_ZN2js3cli6detail12StringOptionD1Ev' is not defined locally % c++filt _ZN2js3cli6detail12StringOptionD1Ev js::cli::detail::StringOption::~StringOption() This is a virtual destructor that is defined in js/src/shell/jsoptparse.h: struct StringOption : public ValuedOption { const char *value; StringOption(char shortflag, const char *longflag, const char *help, const char *metavar) : ValuedOption(OptionKindString, shortflag, longflag, help, metavar), value(NULL) {} virtual ~StringOption() {} }; This header is included in js/src/shell/jsoptparse.c. And in there you find the following line: StringOption *so = OffTheBooks::new_(1, name, help, (const char *) NULL);