public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49587] New: Code generation error with dynamic libraries.
@ 2011-06-30  7:29 jarrydb at cse dot unsw.edu.au
  2011-06-30  9:58 ` [Bug c++/49587] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jarrydb at cse dot unsw.edu.au @ 2011-06-30  7:29 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Code generation error with dynamic libraries.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jarrydb@cse.unsw.edu.au


I have a rather large piece of code (about 20,000 lines) which doesn't appear
to be compiled correctly. I can't reproduce the error, but I have found the
revision that breaks it, and I can describe roughly what the error is.

The last revision that works is 175340, it is broken in 175341.

Initially the bug surfaced as the instruction pointer trying to execute address
0x0. After further digging (with gdb, running instruction by instruction) I
discovered that at a function call, which was in a dynamic library, upon trying
to resolve the address of the function, it found that the function was at
address zero. It got to the particular function call, went through the dynamic
library lookup table, then it dies.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-10 12:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-30  7:29 [Bug c++/49587] New: Code generation error with dynamic libraries jarrydb at cse dot unsw.edu.au
2011-06-30  9:58 ` [Bug c++/49587] " rguenth at gcc dot gnu.org
2011-06-30 10:17 ` jarrydb at cse dot unsw.edu.au
2011-06-30 11:53 ` jarrydb at cse dot unsw.edu.au
2011-06-30 16:43 ` pinskia at gcc dot gnu.org
2011-06-30 20:56 ` jarrydb at cse dot unsw.edu.au
2011-07-10 12:21 ` jarrydb at cse dot unsw.edu.au

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