With the 2.4-branch book, with binutils-2.17/gcc-3.4.6/glibc-2.5, I got the binutils testsuite to pass, but...
The binutils testsuite complains until gcc is installed in chapter 6. ld/ld.log says "--prefix=/tools" (coming from 'gcc -v') is causing an "unknown option" failure from ld/ld-new. Its extremely strange since this error does not happen with gcc-4.1.1. Either way, its a binutils testsuite bug, but maybe it can be worked around without patching binutils by adjusting gcc's configure options. The only thing I deviated from was I used --enable-kernel=2.4.33 with glibc. glibc's kernel-features.h enables new stuff up to 2.4.21, so it might be worth using --enable-kernel=2.4.22 and being sure to run at least that kernel on the host. linux-2.6 seems to be reverse compatable with the 2.4 features. The glibc testsuite had several failures. I checked these out a little bit and they look like they're mainly caused by the linuxthreads port being unmaintained. Some header stuff needs to be adjusted, nothing serious. The problems were with the testsuite, not linuxthreads. Using the newer versions of glibc and binutils keeps the needed patches down. gcc-3.4.6 has a handfull of gcc-bugzilla patches, which may or may not be needed. glibc-2.3.6 has a ton of bugzilla's. I'm not in favor of including ssp in this branch because it's not part of gcc-3.4. glibc-2.5 has memory checking stuff, the pie linking in gcc-3.4 works good, the '-z now' options also works good. In addition to strlcat/strlcpy in libc, and grsecurity, and straightening out the mktemp usage, it's probably enough for the first stable release. I wouldn't mind adding openssl to the base either, with the previously discussed use of it, depending on how stable it seems (with pointers to cryptodev). And blowfish passwords is probably stable enough to include too. Owl also has some glibc patches for sys-queue(this depends on kernel features) and sanitize-env I've wanted to look at better. And cracklib is probably a good thing to add too. Still a ways to go it seems :-) robert
pgp9MUjB1iCES.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
