From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9484 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: FreeBSD's Google Summer of Code 2016 Date: Sat, 5 Mar 2016 16:25:17 -0500 Message-ID: <20160305212517.GK9349@brightrain.aerifal.cx> References: <56DB3D70.8010601@FreeBSD.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1457213141 28680 80.91.229.3 (5 Mar 2016 21:25:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 21:25:41 +0000 (UTC) Cc: musl@lists.openwall.com To: Pedro Giffuni Original-X-From: musl-return-9497-gllmg-musl=m.gmane.org@lists.openwall.com Sat Mar 05 22:25:40 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1acJhi-0001uB-DI for gllmg-musl@m.gmane.org; Sat, 05 Mar 2016 22:25:38 +0100 Original-Received: (qmail 22113 invoked by uid 550); 5 Mar 2016 21:25:36 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 22090 invoked from network); 5 Mar 2016 21:25:35 -0000 Content-Disposition: inline In-Reply-To: <56DB3D70.8010601@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:9484 Archived-At: On Sat, Mar 05, 2016 at 03:11:28PM -0500, Pedro Giffuni wrote: > Hello; > > Just thought I'd point this out in case there are students looking > for a summer project (paid by Google): > > In FreeBSD we are always open to alternatives. For this GSoC we > would consider someone willing to work on a musl port. > > https://wiki.freebsd.org/SummerOfCodeIdeas#Port_musl_libc > > For such a port you obviously have to have love for the C language > and specific skills (version control, knowledge of the build system, > UNIX/syscall knowledge), but I think it may very well be a fun > project for the right person. > > We generally ask for very detailed proposals and it certainly > would help if you get to try FreeBSD before considering a > proposal, The process is competitive so we are interested > in your background. > > We are aware musl is centered around linux but just as someone > managed to port glibc to FreeBSD we think it should be possible > to make a port clean port of musl. This project would only make > sense if the code is upstreamed, so at some stage we would also > appreciate support from musl developers. > > For applying you should follow the standard procedure with Google. > https://summerofcode.withgoogle.com/how-it-works/ Nice! >From our side (musl), the biggest obstacle when people have looked at doing such a port in the past seems to be missing syscalls, especially futex and related functionality. For that reason, up til now, FreeBSD's Linux syscall layer has seemed more functional, and a better basis for musl-on-FreeBSD, than the native syscall layer. I think a viable proposal needs a solution to this problem on the kernel side -- perhaps exposing some of these syscalls that are Linux-emulation-only now in the native API? Rich