glibc issues

marty 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[2]: [/usr/src/glibc/glibc-build/posix/annexc.out] Error 1
> (ignored)
>> > 3059:make[2]: *** [/usr/src/glibc/glibc-build/nptl/tst-execstack.out]
> Error 1
>> > 3123:make[1]: *** [nptl/tests] Error 2
>> > 4045:make[2]: *** [/usr/src/glibc/glibc-build/elf/tst-execstack.out] Error
> 1
>> > 4050:make[2]: ***
> [/usr/src/glibc/glibc-build/elf/tst-execstack-needed.out] Error 127
>> > 4055:make[2]: *** [/usr/src/glibc/glibc-build/elf/tst-execstack-prog.out]
>> > Error 127
>> > 4128:make[1]: *** [elf/tests] Error 2
>> > 4134:make: *** [check] Error 2
> 
> I understand the annexc.out was expected to fail, but the rest are somewhat
> confusing.  
> 
> 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
conditions...

And be more careful with the 'cat' command before you break something.

try `vi /usr/src/glibc/glibc-build/nptl/tst-execstack.out` instead.



Marty B.




-- 
Building a better mousetrap only results in better mice. C. Darwin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20080321/5a000ecb/attachment.sig>


More information about the hlfs-dev mailing list