[Bug c++/49587] New: Code generation error with dynamic libraries.
jarrydb at cse dot unsw.edu.au
gcc-bugzilla@gcc.gnu.org
Thu Jun 30 07:29:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list