public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "amodra at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/49665] 'defined in discarded section' link failures on cpu2006 benchmarks Date: Thu, 07 Jul 2011 09:51:00 -0000 [thread overview] Message-ID: <bug-49665-4-T8Umzq7RUv@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-49665-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49665 Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW AssignedTo|amodra at gmail dot com |unassigned at gcc dot | |gnu.org --- Comment #2 from Alan Modra <amodra at gmail dot com> 2011-07-07 09:50:54 UTC --- So, looks like a gcc bug after all. There are four files with a certain group example.s: .section .text._ZN6soplex8SPxBasisD2Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat example.s: .section .text._ZN6soplex8SPxBasisD0Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat soplex.s: .section .text._ZN6soplex8SPxBasisD2Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat soplex.s: .section .text._ZN6soplex8SPxBasisD0Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat spxbasis.s: .section .text._ZN6soplex8SPxBasisD2Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat spxbasis.s: .section .text._ZN6soplex8SPxBasisD0Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat spxsolver.s: .section .text._ZN6soplex8SPxBasisD2Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat spxsolver.s: .section .text._ZN6soplex8SPxBasisD0Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat In each of these files this group contains two sections, with the code for _ZN6soplex8SPxBasisD0Ev and _ZN6soplex8SPxBasisD2Ev in them. In just one file, spsbasis.o, there is an alias for _ZN6soplex8SPxBasisD2Ev. .weak _ZN6soplex8SPxBasisD1Ev .set _ZN6soplex8SPxBasisD1Ev,_ZN6soplex8SPxBasisD2Ev When the group in spsbasis.o is dropped, _ZN6soplex8SPxBasisD1Ev has no proper definition.
next prev parent reply other threads:[~2011-07-07 9:51 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-07-06 23:48 [Bug other/49665] New: " pthaugen at gcc dot gnu.org 2011-07-07 6:51 ` [Bug other/49665] " amodra at gmail dot com 2011-07-07 9:51 ` amodra at gmail dot com [this message] 2011-07-07 17:42 ` [Bug c++/49665] " pinskia at gcc dot gnu.org 2011-07-09 19:48 ` markus at trippelsdorf dot de 2011-07-10 18:43 ` [Bug other/49665] " pthaugen at gcc dot gnu.org 2011-07-10 19:09 ` markus at trippelsdorf dot de 2011-07-14 17:19 ` pthaugen at gcc dot gnu.org 2011-09-13 15:07 ` hubicka at gcc dot gnu.org 2011-09-13 16:17 ` pthaugen 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-49665-4-T8Umzq7RUv@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).