Re: FreeBSD in Google Code-In 2012? You can help too!

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Thu, 25 Oct 2012 09:10:35 -0700
On Thu, Oct 25, 2012 at 9:03 AM, Michael Vale <masked_at_internode.on.net> wrote:
>
> -----Original Message----- From: Michael Vale
> Sent: Friday, October 26, 2012 3:02 AM
> To: Stefan Esser
>
> Subject: Re: FreeBSD in Google Code-In 2012? You can help too!
>
> yeah it builds fine as it has no dependencies.
>
> currently it only has syscalls for linux (emulation) and any binary app you
> build against it has to be brandelf'd Linux.
>
> I would like to see the freebsd syscalls, mutex/futexes coded into it so it
> could be a drop in replacement for the bsd toolchain when cross-compiling
> for mips / zrouter.org.
>
> plus i believe the mips kernel doesn't have linux emulation. (i could be
> wrong).  but yeah, a native port would require kernel hacking skills.

    Only x86 has Linux compat support (amd64. i386, and pc98), and
true amd64 (64-bit, biarch) Linux compat is missing, FYI. It's a
doable task, but there would need to be some fudging done with the
syscall table (I committed a script in LTP which groks unistd.h for
this info on Linux), you'd need to add architecture dependent
syscalls, and do some other fun tasks.
Cheers,
-Garrett
Received on Thu Oct 25 2012 - 14:10:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC