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: unassig...@gcc.gnu.org
        ReportedBy: jarr...@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.

Reply via email to