This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
building cross-libmudflap not possible because of libtool bug?
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 1 Sep 2006 13:08:48 +0200 (CEST)
- Subject: building cross-libmudflap not possible because of libtool bug?
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