tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

-8 build failure: i386:x86-64 architecture of input file `[...]lib/i386/crti.o' is incompatible with i386 output



I'm having a strange problem builing a recent -8:

/var/work/obj-8/tooldir.NetBSD-6.1_STABLE-amd64/lib/gcc/x86_64--netbsd/5.5.0/../../../../x86_64--netbsd/bin/ld: i386:x86-64 architecture of input file `/var/work/obj-8/destdir.amd64/usr/lib/../lib/i386/crti.o' is incompatible with i386 output

And indeed
$ file /var/work/obj-8/destdir.amd64/usr/lib/../lib/i386/crtn.o 
/var/work/obj-8/destdir.amd64/usr/lib/../lib/i386/crtn.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped

Does this ring a bell to anyone? I repeated build.sh without -u, but same issue.
It did work on the same machine with an older version of -8 source.


Home | Main Index | Thread Index | Old Index