Problem with gcc in mklibs
I tried to build debian-installer and suddenly mklibs fails. I
narrowed the commandline a bit down to:
root@alpha:/d-i/build# gcc -nostdlib -nostartfiles -shared -Wl,-soname=libc.so.6.1 -urename -o ./tmp/cdrom-cdrom-none/initrd-tree/lib/libc.so.6.1-so /usr/lib/libc_pic/soinit.o /usr/lib//libc_pic.a /usr/lib/libc_pic/sofini.o /lib//ld-linux.so.2 -Wl,--version-script=/usr/lib//libc_pic.map -lgcc -L./tmp/cdrom-cdrom-none/initrd-tree/lib -L/lib/ -L/usr/lib/
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
The same works find on i386 and I can't seem to find anything wrong
Anyone got a clue whats wrong?