On 25/09/13 11:51, Robert Millan wrote: > Steven Chamberlain: >> Maybe we ought to override that when building on non-FreeBSD? >> $ elfedit --output-osabi=FreeBSD boot/kfreebsd-9.2-1-amd64 > > Does this work using brandelf (from freebsd-buildutils)? It'd be a lot > more mergeable (once upstream codebase supports foreign builds, that is).
Yes it works fine with e.g.: /usr/lib/freebsd/brandelf -t FreeBSD boot/kfreebsd-9.2-1-486 Apart from this difference, the kernel images for kfreebsd-9.2-1-486 and kfreebsd-9.2-1-686 were byte-for-byte identical from kfreebsd and linux buildds, which is great! The amd64 build is quite different though, possibly because (Robert's) GCC package was a little older (4.8.1-8) than on the Linux amd64 buildd when it was built there (4.8.1-10), or perhaps some other really subtle difference in the build environment. Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/524c97a3.6050...@pyro.eu.org