Giuseppe Sacco wrote: > Hi, > I am esperiencing some strange problems when compiling packages on a > MIPS O2 (64bit kernel) machine. I do think that the problem is the > actual 32bit toolchain, but I would like someone confirm that.
No, it's not a toolchain problem. > 1. dh_testroot segfault > > [EMAIL PROTECTED]:/$ fakeroot dh_testroot > /usr/bin/fakeroot: line 148: 22880 Segmentation fault FAKEROOTKEY= > $FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@" This is a hideous bug in the dynamic linker. > 2. it seems I cannot compile the kernel (it is an O2, with 64 bit > kernel) since I get this strange error: > > [...] > AS arch/mips/lib-64/memset.o > AS arch/mips/lib-64/watch.o > AR arch/mips/lib-64/lib.a > GEN .version > CHK include/linux/compile.h > dnsdomainname: Unknown host > UPD include/linux/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > ld:lib/lib.a: file format not recognized; treating as linker script > ld:lib/lib.a:1: parse error > make[1]: *** [.tmp_vmlinux1] Error 1 > make[1]: Leaving directory `/usr/local/src/linux-20041117' > make: *** [stamp-build] Error 2 Seems like you missed the Makefile patch which set the ld emulation. Thiemo

