* Loïc Minier <loic.min...@linaro.org> schrieb: > On Thu, Feb 10, 2011, Wookey wrote: > > Loic Minier in October last year, to libtool list > > http://thread.gmane.org/gmane.comp.gnu.libtool.bugs/7626 > > (response: yes that seems to be a bug, no time to fix now, does sysroot > > option fix it? 'Not for me' said lool) > > FTR, I just tried libtool.git, and it seems to still be affected by the > issue > > ./bootstrap > cd tests/depdemo > ./configure --build=x86_64-linux-gnu --host=arm-linux-gnueabi > --libdir=/usr/lib > make install DESTDIR=`pwd`/destdir > > test -z "/usr/lib" || /bin/mkdir -p > "/home/lool/scratch/libtool/libtool-git/tests/depdemo/destdir/usr/lib" ^^^^^^^^^^ absolutely wrong.
> /bin/bash ../libtool --mode=install /usr/bin/install -c libl2.la > '/home/lool/scratch/libtool/libtool-git/tests/depdemo/destdir/usr/lib' > libtool: install: warning: relinking `libl2.la' > libtool: install: (cd > /home/lool/scratch/libtool/libtool-git/tests/depdemo/l2; /bin/bash > /home/lool/scratch/libtool/libtool-git/tests/depdemo/libtool --tag CC > --mode=relink arm-linux-gnueabi-gcc -g -O2 -no-undefined -o libl2.la -rpath > /usr/lib l2.lo ../l1/libl1.la -inst-prefix-dir > /home/lool/scratch/libtool/libtool-git/tests/depdemo/destdir) > libtool: relink: arm-linux-gnueabi-gcc -shared -fPIC -DPIC .libs/l2.o > -L/home/lool/scratch/libtool/libtool-git/tests/depdemo/destdir/usr/lib > -L/usr/lib -ll1 -O2 -Wl,-soname -Wl,libl2.so.0 -o .libs/libl2.so.0.0.0 > /usr/lib/gcc/arm-linux-gnueabi/4.5.2/../../../../arm-linux-gnueabi/bin/ld: > skipping incompatible /usr/lib/libc.so when searching for -lc > /usr/lib/libc.a: could not read symbols: File format not recognized > collect2: ld returned 1 exit status > libtool: install: error: relink `libl2.la' with the above command before > installing it Obvious, since it uses wrong library pathes ;-o cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110227181848.GB10616@nibiru.local