Hello, On Sun, 17 Dec 2017 10:48:33 +0100 Maxime Villard <m...@m00nbsd.net> wrote:
> >> Modified Files: > >> src/sys/compat/common: Makefile.inc > >> > >> Log Message: > >> Build libcompat as an object, not as a library. We want all of its > >> functions compiled in, because compat modules loaded from the filesystem > >> may depend on them. > > > > this breaks mips64 kernels: > > > > /var/obj/evbmips-mips64eb/usr/src/tooldir.NetBSD-7.1_STABLE-amd64/bin/mips64--netbsd-ld: > > kern_ipc_10.o: ABI is incompatible with that of the selected emulation > > /var/obj/evbmips-mips64eb/usr/src/tooldir.NetBSD-7.1_STABLE-amd64/bin/mips64--netbsd-ld: > > failed to merge target specific data of file kern_ipc_10.o > > /var/obj/evbmips-mips64eb/usr/src/tooldir.NetBSD-7.1_STABLE-amd64/bin/mips64--netbsd-ld: > > sysv_shm_50.o: ABI is incompatible with that of the selected emulation > > /var/obj/evbmips-mips64eb/usr/src/tooldir.NetBSD-7.1_STABLE-amd64/bin/mips64--netbsd-ld: > > failed to merge target specific data of file sysv_shm_50.o > > [ ... ] > > Do you know where exactly this comes from? In kern_ipc_10.c nothing should be > built since mips64 is _LP64. Not necessarily - it's perfectly reasonable to build kernels as n32 ( read: ILP32 but with 64bit registers and such ) on certain hardware. have fun Michael