This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
linker dies building GDB (ppc64)
Hi all,
I am trying to build the CVS version of GDB 6.0. I am trying to build
it as a 64bit binary on a powerpc 64 machine. The linker (collect2) seg
faults trying to link tclsh. Has anyone seen this before??. Here is the
linker message when it died.
gcc tclAppInit.o
-L/home/manjo/project/gdb/config.patch/gdb_test/src/tcl/unix -ltcl8.4 -ldl
-lieee -lm \
-Wl,-rpath,/usr/local/lib -o tclsh
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld:
/home/manjo/project/gdb/config.patch/gdb_test/src/tcl/unix/libtcl8.4.a(tclUnixInit.o):
invalid string offset 7627628 >= 1139 for section `.strtab'
/usr/bin/ld:
/home/manjo/project/gdb/config.patch/gdb_test/src/tcl/unix/libtcl8.4.a(tclUnixInit.o):
invalid string offset 1946186851 >= 1139 for section `.strtab'
/home/manjo/project/gdb/config.patch/gdb_test/src/tcl/unix/libtcl8.4.a(tclUnixInit.o)(*ABS*+0x496e697453637269):
multiple definition of `no symbol'
make[2]: *** [tclsh] Error 1
make[2]: Leaving directory
`/home/manjo/project/gdb/config.patch/gdb_test/src/tcl/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/manjo/project/gdb/config.patch/gdb_test/src/tcl'
make: *** [all-tcl] Error 2
Thanks
Manoj Iyer