public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16276] New: G++ generates local references to linkonce sections
@ 2004-06-29 16:28 hjl at lucon dot org
  2004-06-29 16:41 ` [Bug c++/16276] " pinskia at gcc dot gnu dot org
                   ` (29 more replies)
  0 siblings, 30 replies; 33+ messages in thread
From: hjl at lucon dot org @ 2004-06-29 16:28 UTC (permalink / raw)
  To: gcc-bugs

http://sources.redhat.com/bugzilla/show_bug.cgi?id=233

has a testcase where g++ generates non-debug local references
to linkonce sections. Due to a linker bug, those references
are ignored, which may lead to linker failure or corrupted
binary. With the fixed linker, I get

[hjl@gnu obj]$ g++ main.o modules/.libs/libmodules.a -B./
`local symbol 0' referenced in section `.text': discarded in section
`.gnu.linkonce.d._ZTIP9CTemplateIhE' from modules/.libs/libmodules.a(secondmodule.o)
`local symbol 1' referenced in section `.text': discarded in section
`.gnu.linkonce.d._ZTIP9CTemplateIhE' from modules/.libs/libmodules.a(secondmodule.o)

-- 
           Summary: G++ generates local references to linkonce sections
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16276


^ permalink raw reply	[flat|nested] 33+ messages in thread
[parent not found: <bug-16276-682@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-02-28  9:34 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29 16:28 [Bug c++/16276] New: G++ generates local references to linkonce sections hjl at lucon dot org
2004-06-29 16:41 ` [Bug c++/16276] " pinskia at gcc dot gnu dot org
2004-06-29 17:14 ` hjl at lucon dot org
2004-07-05  8:13 ` wenzel at tu-harburg dot de
2004-07-06 22:01 ` gdr at gcc dot gnu dot org
2004-07-06 22:45 ` hjl at lucon dot org
2004-07-07  5:14 ` pinskia at gcc dot gnu dot org
2004-07-07 18:29 ` cvs-commit at gcc dot gnu dot org
2004-07-07 18:30 ` cvs-commit at gcc dot gnu dot org
2004-07-07 18:31 ` hjl at lucon dot org
2004-07-08  4:58 ` cvs-commit at gcc dot gnu dot org
2004-07-08  5:00 ` cvs-commit at gcc dot gnu dot org
2004-07-08  5:03 ` pinskia at gcc dot gnu dot org
2004-07-08 15:35 ` hjl at lucon dot org
2004-07-08 17:50 ` hjl at lucon dot org
2004-07-08 21:56 ` hjl at lucon dot org
2004-07-09  4:24 ` pinskia at gcc dot gnu dot org
2004-07-12 22:26 ` cvs-commit at gcc dot gnu dot org
2004-07-12 22:28 ` cvs-commit at gcc dot gnu dot org
2004-08-12 13:57 ` cvs-commit at gcc dot gnu dot org
2004-08-12 14:38 ` [Bug c++/16276] [3.4 only] " pinskia at gcc dot gnu dot org
2004-08-12 17:46 ` mark at codesourcery dot com
2004-08-23 21:00 ` mmitchel at gcc dot gnu dot org
2004-09-01 15:48 ` cvs-commit at gcc dot gnu dot org
2004-09-01 15:51 ` cvs-commit at gcc dot gnu dot org
2004-09-27  4:05 ` pinskia at gcc dot gnu dot org
2004-10-29 13:00 ` cvs-commit at gcc dot gnu dot org
2004-10-29 13:04 ` cvs-commit at gcc dot gnu dot org
2004-10-31  1:04 ` mmitchel at gcc dot gnu dot org
2004-12-03 17:51 ` hjl at lucon dot org
2005-05-19 17:23 ` mmitchel at gcc dot gnu dot org
     [not found] <bug-16276-682@http.gcc.gnu.org/bugzilla/>
2005-10-07  3:26 ` gdr at gcc dot gnu dot org
2006-02-28  9:35 ` gdr at gcc dot gnu dot org

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).