public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mstahl at redhat dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug regression/64812] [4.9 regression] x86 LibreOffice Build failure: undefined reference to acquire Date: Mon, 16 Feb 2015 14:10:00 -0000 [thread overview] Message-ID: <bug-64812-4-u1S9q8fo3g@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-64812-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64812 Michael Stahl <mstahl at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caolanm at redhat dot com, | |mstahl at redhat dot com, | |sbergman at redhat dot com --- Comment #5 from Michael Stahl <mstahl at redhat dot com> --- the problem is that with -Os, the inline method WindowListenerMultiplexer::acquire() results in an undefined symbol, whereas with -O2 weak symbols are emitted into the object. can reproduce this with: gcc (GCC) 4.9.2 20141101 (Red Hat 4.9.2-1) the command line parameters for compilation in the build system were: g++ -m32 -fvisibility=hidden -fmessage-length=0 -fno-common -fvisibility-inlines-hidden -fstack-protector-strong -fPIC -std=gnu++11 -ggdb2 -fexceptions -fno-enforce-eh-specs -Os -c /tmp/fmgridif.ii -o /tmp/fmgridif.o the minimal command line parameters to trigger the bug: > g++ -m32 -std=gnu++11 -Os -c /tmp/fmgridif.ii -o /tmp/fmgridif.o > nm --demangle /tmp/fmgridif.o | grep WindowListenerMultiplexer U non-virtual thunk to WindowListenerMultiplexer::acquire() the minimal command line parameters to avoid the bug: > g++ -m32 -std=gnu++11 -O2 -c /tmp/fmgridif.ii -o /tmp/fmgridif.o > nm --demangle /tmp/fmgridif.o | grep WindowListenerMultiplexer 00000000 W WindowListenerMultiplexer::acquire() 00000020 W non-virtual thunk to WindowListenerMultiplexer::acquire()
next prev parent reply other threads:[~2015-02-16 14:10 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-01-27 2:48 [Bug regression/64812] New: " lukebenes at hotmail dot com 2015-01-27 6:48 ` [Bug regression/64812] " trippels at gcc dot gnu.org 2015-01-27 6:56 ` trippels at gcc dot gnu.org 2015-01-27 11:11 ` rguenth at gcc dot gnu.org 2015-02-04 9:33 ` timo.teras at iki dot fi 2015-02-13 18:04 ` basile at opensource dot dyc.edu 2015-02-16 14:10 ` mstahl at redhat dot com [this message] 2015-02-16 14:14 ` mstahl at redhat dot com 2015-02-27 8:39 ` [Bug ipa/64812] " trippels at gcc dot gnu.org 2015-02-27 14:23 ` mstahl at redhat dot com 2015-02-27 14:48 ` trippels at gcc dot gnu.org 2015-06-26 20:18 ` jakub at gcc dot gnu.org 2015-06-26 20:39 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-64812-4-u1S9q8fo3g@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).