bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/1540] New: internal error in elf_i386_copy_indirect_symbol() whe


From: skunk at iskunk dot org
Subject: [Bug ld/1540] New: internal error in elf_i386_copy_indirect_symbol() when linking Qt program
Date: 24 Oct 2005 23:53:17 -0000

The system is barebones Debian woody with a locally-built GCC 4.0.2 (i.e.   
"tg-g++"). The Qt library is built with tg-g++. This error first came up with  
the system's bundled linker (binutils 2.12.90.0.1), but continued to do so  
after I installed 2.16.1.  
   
----(begin)----   
/opt/tg/bin/tg-g++ -g -O2 -o tsa main.o tsaaddlanguagedlg.o tsaconcept.o   
tsaconcepts.o tsaconceptsprops.o ...(many object and user libraries   
elided)... /mnt/depot/tglib/linux32/lib/libtgtag.a 
/mnt/depot/tglib/linux32/lib/libtgmrph.a 
/mnt/depot/tglib/linux32/lib/libtgcfg.a 
/mnt/depot/tglib/linux32/lib/libtgspell.a 
/mnt/depot/tglib/linux32/lib/libtgthsrs.a 
/mnt/depot/tglib/linux32/lib/libtgcl.a /mnt/depot/tglib/linux32/lib/libtgltk.a 
/mnt/depot/tglib/linux32/lib/libtgfs.a /mnt/depot/tglib/linux32/lib/libtgzp.a   
-lm /mnt/depot/tglib/linux32/lib/libtguni.a 
/mnt/depot/tglib/linux32/lib/libtghtml.a 
/mnt/depot/tglib/linux32/lib/libtgtkzo.a 
/mnt/depot/tglib/linux32/lib/libtgthread.a 
/mnt/depot/tglib/linux32/lib/libtghttp.a 
/mnt/depot/tglib/linux32/lib/libtgskt.a /mnt/depot/tglib/linux32/lib/libtgdt.a 
/mnt/depot/tglib/linux32/lib/libtgstd.a 
/mnt/depot/tglib/linux32/lib/libtgmemd.a   
-L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lSM -lICE -lpthread -ldl -pthread   
/opt/tg/bin/tg-ld: BFD 2.16.1 internal error, aborting   
at /mnt/freeport/src/binutils/current/bfd/elf32-i386.c line 752 in   
elf_i386_copy_indirect_symbol   
   
/opt/tg/bin/tg-ld: Please report this bug.   
   
collect2: ld returned 1 exit status   
----(end)----   
   
Not all links fail in this way; only those linking against Qt, and even then   
only the larger programs. (A small "hello world" Qt program linked correctly.)  
 
  
tg-g++ was configured with --enable-version-specific-runtime-libs, and if I   
give it "-v", and run the collect2 command with -lgcc and -lstdc++ replaced by  
 
absolute paths to the static libraries under /opt/tg/lib/gcc/..., then nothing  
 
changes. (That is, tg-g++ is not pulling these in from /usr/lib/.)  
  
FYI: This system runs Debian woody in order to build binaries that do not  
depend on glibc symbols newer than 2.2.4; upgrading it really isn't an option.

-- 
           Summary: internal error in elf_i386_copy_indirect_symbol() when
                    linking Qt program
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: skunk at iskunk dot org
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=1540

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]