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/47248] New: libffi build failure with ld.gold (works with trunk 20110106, fails with 20110110)


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

           Summary: libffi build failure with ld.gold (works with trunk
                    20110106, fails with 20110110)
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: doko@ubuntu.com


this is a build enabled to build Go, and pulling in libffi, which fails with

libtool: link: /scratch/packages/gcc/4.6/gcc-4.6-4.6-20110110/build/./gcc/xgcc
-B/scratch/packages/gcc/4.6/gcc-4.6-4.6-20110110/build/./gc
c/ -B/usr/i686-linux-gnu/bin/ -B/usr/i686-linux-gnu/lib/ -isystem
/usr/i686-linux-gnu/include -isystem /usr/i686-linux-gnu/sys-include    
-shared  src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o
src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o
src/x86/.libs/ffi.o src/x86/.libs/sysv.o      -Wl,-soname -Wl,libffi.so.4 -o
.libs/libffi.so.4.0.1
ld.gold: internal error in set_offset, at ../../gold/output.cc:4030
collect2: ld returned 1 exit status
make[6]: *** [libffi.la] Error 1

I didn't change the build environment between the two builds. gcc was
configured with 

         --enable-languages=c,c++,fortran,objc,obj-c++,go
         --prefix=/usr
         --program-suffix=-4.6
         --enable-shared
         --with-system-zlib
         --without-included-gettext
         --enable-threads=posix
         --enable-nls
         --enable-clocale=gnu
         --enable-libstdcxx-debug
         --enable-libstdcxx-time=yes
         --enable-plugin
         --enable-gold
         --enable-ld=default
         --with-plugin-ld=ld.gold
         --enable-objc-gc
         --enable-targets=all
         --with-arch-32=i686
         --with-tune=generic
         --enable-checking=release
         --build=i686-linux-gnu
         --host=i686-linux-gnu
         --target=i686-linux-gnu


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