building cross-libmudflap not possible because of libtool bug?
Richard Guenther
rguenther@suse.de
Fri Sep 1 11:09:00 GMT 2006
I'm experiencing building libmudflap cross, as libtool seems not to
pass --sysroot arguments to the compiler driver in link mode:
/bin/sh ./libtool --mode=link
/usr/src/packages/BUILD/gcc-4.1.2-20060731/obj-i586-suse-linux/./gcc/xgcc
-B/usr/src/packages/BUILD/gcc-4.1.2-20060731/obj-i586-suse-linux/./gcc/
-B/opt/cross/sh4-linux/bin/ -B/opt/cross/sh4-linux/lib/ -isystem
/opt/cross/sh4-linux/include -isystem /opt/cross/sh4-linux/sys-include
-Wall -ffunction-sections -fdata-sections -O2 -g -O2
--sysroot=/opt/cross/sh4-linux -o libmudflap.la -rpath
/opt/cross/lib/gcc/sh4-linux/4.1.2 -version-info `grep -v '^#'
../../../libmudflap/libtool-version` mf-runtime.lo mf-heuristics.lo
mf-hooks1.lo mf-hooks2.lo -ldl
/usr/src/packages/BUILD/gcc-4.1.2-20060731/obj-i586-suse-linux/./gcc/xgcc
-B/usr/src/packages/BUILD/gcc-4.1.2-20060731/obj-i586-suse-linux/./gcc/
-B/opt/cross/sh4-linux/bin/ -B/opt/cross/sh4-linux/lib/ -isystem
/opt/cross/sh4-linux/include
-isystem /opt/cross/sh4-linux/sys-include -shared .libs/mf-runtime.o
.libs/mf-heuristics.o .libs/mf-hooks1.o .libs/mf-hooks2.o -ldl
-Wl,-soname -Wl,libmudflap.so.0 -o .libs/libmudflap.so.0.0.0
/opt/cross/bin/sh4-linux-ld: crti.o: No such file: No such file or
directory
collect2: ld returned 1 exit status
make[4]: *** [libmudflap.la] Error 1
Is there a recommended way to either fix libtool or libmudflap?
Thanks,
Richard.
--
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
More information about the Gcc
mailing list