This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/46039] New: GCC 4.6 fails to bootstrap or compile at all with gold linker


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

           Summary: GCC 4.6 fails to bootstrap or compile at all with gold
                    linker
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: adam.rak@streamnovation.com


Created attachment 22056
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22056
preprocessed version of the conftest which hangs

When GCC starts configuring the libstdc++, it runs the conftest:
"checking whether a statically linked program can dlopen itself..."
which hangs.

I tried gcc-4.3 and gcc-4.4 and gcc-4.6 as a compiler for the conftest and all
hanged when I used gold.

in order to reproduce the bug:
gcc  -o conftest -g -O2 -Wl,--export-dynamic -static conftest.ii.c -ldl

gold version:
GNU gold (GNU Binutils for Debian 2.20.1-system.20100303) 1.9


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]