Steven Chamberlain:
> Hi,
> 
> Something we can also do, which I hadn't thought of until now, is to
> compare kernel images built on kfreebsd-amd64 vs. on linux amd64.  An
> obvious difference is the ELF header:
> 
>> kfreebsd-amd64/boot/kfreebsd-9.2-1-amd64: ELF 64-bit LSB executable, x86-64, 
>> version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped
>> amd64/boot/kfreebsd-9.2-1-amd64: ELF 64-bit LSB executable, x86-64, version 
>> 1 (SYSV), dynamically linked (uses shared libs), not stripped
> 
> 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).

-- 
Robert Millan


-- 
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/5242c02b.5080...@debian.org

Reply via email to