marty at goodoldmarty.com
Fri Mar 21 09:24:49 PDT 2008
> I'm currently running through the HLFS steps, and at the first instance of
> glibc in chapter 6, I am coming across some errors that do not seem to show
> in the book, or in any searches I've done.
> --- grep -n Error glibc-check-log
>> > 2021:make: [/usr/src/glibc/glibc-build/posix/annexc.out] Error 1
>> > 3059:make: *** [/usr/src/glibc/glibc-build/nptl/tst-execstack.out]
> Error 1
>> > 3123:make: *** [nptl/tests] Error 2
>> > 4045:make: *** [/usr/src/glibc/glibc-build/elf/tst-execstack.out] Error
>> > 4050:make: ***
> [/usr/src/glibc/glibc-build/elf/tst-execstack-needed.out] Error 127
>> > 4055:make: *** [/usr/src/glibc/glibc-build/elf/tst-execstack-prog.out]
>> > Error 127
>> > 4128:make: *** [elf/tests] Error 2
>> > 4134:make: *** [check] Error 2
> I understand the annexc.out was expected to fail, but the rest are somewhat
> However, tst-execstack.out is confusing; when I attempt to output it (via
> `cat /usr/src/glibc/glibc-build/nptl/tst-execstack.out`), it returns the
> following message:
> "cannot load: tst-execstack-mod.so: cannot enable executable stack as shared
> object requires: Permission denied"
> Has anyone else come across this error? I am assuming the rest afterward
> might be related to the issue, although attempting to display them with cat
> has returned no errors so far.
Those tests require an executable stack.
Read it again.
The Glibc test suite depends on features of the host system kernel. Under ideal
And be more careful with the 'cat' command before you break something.
try `vi /usr/src/glibc/glibc-build/nptl/tst-execstack.out` instead.
Building a better mousetrap only results in better mice. C. Darwin
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: OpenPGP digital signature
More information about the hlfs-dev