[parisc-linux] problems with binutils and/or g++
David Huggins-Daines
dhd@linuxcare.com
17 Oct 2000 16:38:02 -0400
Hi,
With current binutils (as of Oct. 13) and GCC, I get the following
error when building APT:
../build/obj/cmdline/apt-get.o: In function `global destructors keyed to c0out':
/home/build/apt-0.3.19/cmdline/apt-get.cc:1429: undefined reference to `pkgArchiveCleaner type_info function'
/usr/bin/ld: ../build/obj/cmdline/apt-get.o(.gnu.linkonce.t.__tf10LogCleaner+0x1c): cannot find stub entry 00000010___tf17pkgArchiveCleaner+0
/usr/bin/ld: ../build/obj/cmdline/apt-get.o(.gnu.linkonce.t.__tf10LogCleaner+0x1c): cannot handle R_PARISC_PCREL17F for pkgArchiveCleaner type_info function
/home/build/apt-0.3.19/cmdline/apt-get.cc:1429: undefined reference to `pkgArchiveCleaner type_info node'
/home/build/apt-0.3.19/cmdline/apt-get.cc:1429: undefined reference to `pkgArchiveCleaner type_info node'
I'm not sure if this is a g++ or linker bug. The symbol names look
really suspicious, suggesting that it might be a bug in RTTI (I'll try
recompiling with -fno-rtti, as I don't think APT uses it). But on the
other hand we've had problems with link-once sections in the past.
Any thoughts?
--
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.