J. Scott Edwards
sedwards at xmission.com
Sat Jul 24 06:39:30 PDT 2004
On Sat, 24 Jul 2004, Robert Connolly wrote:
> On July 23, 2004 11:44 pm, J. Scott Edwards wrote:
>> On Wed, 21 Jul 2004, Robert Connolly wrote:
>>> On July 21, 2004 11:16 am, Miguel Bazdresch wrote:
>>>>> sedwards at marconi tmp $ more
>>> I have a lot more test failures using gcc-3.3.4 compared to gcc-3.3.3
>>> with both gcc and glibc's testsuites. I'm pretty sure I have had the
>>> book's packages build without test failures but I need to retry it
>>> because its been a while.
>> Well, I've tried it now with glibc-2.3.2 and it won't even compile glibc
>> in Ch. 6. In fact it won't compile anything, it complains that it can't
>> find Scrt.o. I probably botched something trying to kludge in 2.3.2 in
>> place of glibc-2.3.3-lfs-5.1.
>> I am thinking now that I should go back to the original (non-hardened)
>> book and see if I can get that to build ok. If it builds then I would
>> know that my system is at least working I guess.
> The pie patches depend on a new glibc-2.3.3 feature.
> http://pax.grsecurity.net/ has a package with Scrt.o source (I think). Its
> more complicated but it can work if you really want to use glibc-2.3.2.
I was just trying glibc-2.3.2 to see if it worked.
I have built a plain lfs (no hardened patches) and ran make check on the
glibc in ch. 6. I can't really tell if it was successful or not. I
didn't see any error messages when it finished. This was the last output:
scripts/check-c++-types.sh scripts/data/c++-types-i386-linux-gnu.data g++
-O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g
-mpreferred-stack-boundary=2 -Iinclude -I. -I/sources/glibc-build
-Ilibio -I/sources/glibc-build -Isysdeps/i386/elf
-Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common
-Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386
-Isysdeps/unix/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix
-Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486
-Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32
-Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf
-Isysdeps/generic -nostdinc -isystem
/tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include -isystem /usr/include
-D_LIBC_REENTRANT -include include/libc-symbols.h >
make: Leaving directory `/sources/glibc-2.3.3-lfs-5.1'
So I assume it worked?
Any suggestions where I go from here?
More information about the hlfs-dev