[Aboriginal] Linux From Scratch build.
rob at landley.net
Thu Aug 22 13:49:43 PDT 2013
The existing LFS build got broken by the posix_spawn() patch, because
gnu/dammit m4 is detecting it's there and trying to grab gnu-specific
undocumented fields out of the guts of some structure in its
implementation. Those fields aren't there in the backported uClibc
patch, so the build breaks.
How you screw up something as simple as posix_spawn() (it's fork+exec,
it's a non-blocking system() that doesn't go through a shell), I
couldn't tell you. But they managed.
I've tried it with and without the #define in the headers announcing
posix_spawn's presence. (Why you need a #define in the headers to
announce a posix feature when you're already claiming posix-2008...
let's just gloss over that for now).
I'm thinking this might be a good excuse to upgrade from LFS 6.8 to LFS
7.4. The -rc1 of that is out, and they're actually doing a matching
BLFS release for the first time since 2008. Unfortunately, this would
mean I'm not switching _from_ a known working environment, although it
works fine if you yank the posix_spawn patch. So the downside would be
it not fixing the bug _and_ me winding up with a whole lot more work on
my plate, but it's work I've been meaning to do anyway...
So there's that. I also need to test the 3.11 kernel. Toybox grep is
finally working in the build (exit code was wrong for everything but -q
mode, fixed it).
Still havent' gotten back to the ccwrap rewrite for musl. It's at about
50% done, and has been for ~2 weeks...
More information about the Aboriginal