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

Re: unexpectedly missing symbols on armel build of bobcat library package



Hello,

2010/12/6 George Danchev <danchev@spnet.net>:
[...]
> Could that be a compiler or linker, or we are missing knowledge for certain
> types in armel. We would appreciate any pointers towards possible resolution
> of the issue.

I am getting 'note: the mangling of ‘va_list’ has changed in GCC 4.4'
message on most of the compiled files.

>From http://gcc.gnu.org/gcc-4.4/changes.html
"On ARM EABI targets, the C++ mangling of the va_list type has been
changed to conform to the current revision of the EABI. This does not
affect the libstdc++ library included with GCC."
Associated patch: http://old.nabble.com/PATCH:-ARM-va_list-td21447636.html
ARM EABI Changed (7.4.1):
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042a/IHI0042A_aapcs.pdf
-Wno-psabi GCC flag helps get rid of the note.

Yet another interesting pointers to follow:
 * http://www.mail-archive.com/debian-arm@lists.debian.org/msg10488.html
 * http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/qt4-x11/lucid-updates/annotate/head:/debian/patches/92_armel_gcc43_valist_compat.diff


I have also done a rebuild of bobcat (with defaults and with
'-Wno-psabi -O2') on abel.debian.org obtaining same results on both
builds:

(sid)zumbi@abel:~/bob/bobcat-2.08.01$  nm ./tmp/lib/libbobcat.a | grep
MultiStream | awk '{print $3}' | grep _Z | c++filt
FBB::MultiStreambuf::insert(FBB::MultiStreambuf::stream&,
FBB::MultiStreambuf::Insert&)
FBB::MultiStreambuf::stream::setOnce(FBB::MultiStreambuf::stream&)
FBB::MultiStreambuf::setOnce()
FBB::MultiStreambuf::sync()
FBB::MultiStreambuf::xsputn(char const*, int)
FBB::MultiStreambuf::overflow(int)
FBB::MultiStreambuf::~MultiStreambuf()
FBB::MultiStreambuf::~MultiStreambuf()
typeinfo for FBB::MultiStreambuf
typeinfo name for FBB::MultiStreambuf
vtable for FBB::MultiStreambuf

(sid)zumbi@abel:~/bob/bobcat-2.08.01$ objdump -T
./tmp/lib/libbobcat.so | grep Multi | awk '{print $7}' | c++filt
FBB::MultiStreambuf::~MultiStreambuf()
FBB::MultiStreambuf::setOnce()
typeinfo for FBB::MultiStreambuf
FBB::MultiStreambuf::xsputn(char const*, int)
FBB::MultiStreambuf::sync()
typeinfo name for FBB::MultiStreambuf
FBB::MultiStreambuf::stream::setOnce(FBB::MultiStreambuf::stream&)
FBB::MultiStreambuf::overflow(int)
FBB::MultiStreambuf::insert(FBB::MultiStreambuf::stream&,
FBB::MultiStreambuf::Insert&)
FBB::MultiStreambuf::~MultiStreambuf()
vtable for FBB::MultiStreambuf

(sid)zumbi@abel:~/bob/bobcat-2.08.01$ gcc -v
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Debian
4.4.5-10' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --disable-sjlj-exceptions --enable-checking=release
--build=arm-linux-gnueabi --host=arm-linux-gnueabi
--target=arm-linux-gnueabi
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-10)

(sid)zumbi@abel:~/bob/bobcat-2.08.01$ dpkg -l binutils
ii  binutils
2.20.1-15                                                       The
GNU assembler, linker and binary utilities

Maybe bobcat needs a rebuild?

Best regards,
-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html


Reply to: