Possible enhancement for glibc "make check"?

Robert Connolly cendres at videotron.ca
Tue Jan 27 09:07:45 PST 2004


On January 27, 2004 11:30 am, Kevin P. Fleming wrote:
> At least one of the glibc tests run during "make check" (test-lfs) will
> fail if /tmp is a Linux tmpfs filesystem (at least it does on my systems
> anyway). There is an easy way to get around this, though: set a TMPDIR
> environment variable to point somewhere else during the "make check"
> run. This avoids getting test failures that are not actually legitimate
> failures.
>
> Is this worth considering for putting in the book?

I have used tmpfs for /tmp and /var/tmp in chap6 without any new errors. I 
used:

mount tmpfs /tmp -t tmpfs -o nodev,nosuid,mode=1777,size=32m

I made /var/tmp 16 megs. I think you can get away with less than these though.
And dont forget to put random-seed in a different place if needed.




More information about the lfs-dev mailing list