Re: What is this error?
Rebuilding libxml (with new toolchain etc.) did the trick, now
illuminator compiles just fine, so that is the culprit.
So what next, do I dupload the rebuilt libxml package? Or will that be
refused since it's already there with the same version number?
Otherwise I'd think everything else which builds against it will fail in
a similar way...
Furthermore, the illuminator package doesn't finish building:
dh_shlibdeps -a
dpkg-shlibdeps: failure: ldd on
`debian/libluminate3/usr/lib/libluminate.so.3.0.1' gave error exit
status 1
This is confirmed by running ldd on its own:
# ldd debian/libluminate3/usr/lib/libluminate.so.3.0.1
not a dynamic executable
# file debian/libluminate3/usr/lib/libluminate.so.3.0.1
debian/libluminate3/usr/lib/libluminate.so.3.0.1: ELF 32-bit LSB shared
object, ARM, version 1 (ARM), stripped
Is this a bug in libc6 (which provides /usr/bin/ldd)? dh_shlibdeps ran
just fine for libxml...
On Wed, 2003-08-13 at 16:44, Adam C Powell IV wrote:
Okay, tried various permutations of libs, and what I came up with is: if
libluminate.so and libxml.so are removed from the list, that __div0
error goes away. (But other symbols are missing due to the missing
libs.)
If I remove one or the other but not both, then the error persists. So
both must be referencing that symbol, right?
Unfortunately, nm doesn't work on the stripped libxml.so, and libxml.a
turns up nothing. nm on libluminate.so shows __divsi3 but no __div0. I
know libluminate isn't explicitly referencing __div0 because I'm
upstream and I didn't do any such thing...
I think I'll try rebuilding libxml and see if that works...
On Fri, 2003-08-08 at 23:21, Scott Bambrough wrote:
On Fri, 2003-08-08 at 11:33, Adam C Powell IV wrote:
This sounds like one of the dynamic libraries you are building
explicitly references _div0 in its code. I suspect that in earlier
versions of libgcc, this was public, but has been made hidden in 3.3.1
as it is an internal symbol only for use in libgcc.
Only a guess, however.
Scott
> Hello,
>
> With no replies, I assume it's a bug. Question is, is it against
> gcc-3.3 or binutils (or libc6-dev)? If there are no replies, I'll guess
> gcc-3.3 and see what happens...
>
> On Mon, 2003-08-04 at 20:32, Adam C Powell IV wrote:
> Greetings,
>
> illuminator is failing to build on ARM because of an error I don't
> understand:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/petsc
> -I/usr/lib/petsc/bmake/linux -I/usr/lib/petsc/include
> -I/usr/lib/mpich/include -I/usr/lib/mpich/include
> -DPETSC_HAVE_MPE_INITIALIZED_LOGGING -g -O2 -c -o tsview-tsview.o
> `test -f tsview.c || echo './'`tsview.c
> /bin/sh ./libtool --mode=link gcc -g -O2 -o tsview tsview-tsview.o
> libluminate.la -L/usr/lib/petsc/lib/libO/linux -lpetscdm -lpetscmat
> -lpetscvec -lpetsc -L/usr/lib/mpich/lib/shared -L/usr/lib/mpich/lib
> -lmpe -lpmpich
> -lslog
> -L/usr/X11R6/lib
> -lX11 -lblas2 -llapack2 -L/usr/lib/mpich/lib/shared -L/usr/lib/mpich/lib -lmpich -ldl -lg2c -lc -lm
> gcc -g -O2 -o .libs/tsview tsview-tsview.o ./.libs/libluminate.so
> -L/usr/lib /usr/lib/libxml.so -lz /usr/lib/libglib.so
> -L/usr/lib/petsc/lib/libO/linux -L/usr/lib/mpich/lib/shared
> -L/usr/lib/mpich/lib -L/usr/X11R6/lib -lpetscdm -lpetscmat -lpetscvec
> -lpetsc -lmpe -lpmpich -lslog -lX11 -lblas2 -llapack2 -lmpich -ldl -lg2c
> -lc -lm
> /usr/bin/ld: .libs/tsview: hidden symbol `__div0' in
> /usr/lib/gcc-lib/arm-linux/3.3.1/libgcc.a(_dvmd_lnx.oS) is referenced by
> DSO
> collect2: ld returned 1 exit status
> make[3]: *** [tsview] Error 1
> make[3]: Leaving directory `/build/buildd/illuminator-0.6.1'
>
> What on earth is this?
--
-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg
--
To UNSUBSCRIBE, email to debian-arm-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg
Reply to: