glibc build error tst-clock2

James Muir hemlock at vtlink.net
Wed Apr 6 15:49:19 PDT 2005


Hi,

I'm building LFS Version 6.0 and am at Ch 6 "Installing the Basic System 
Software". The build of glibc has produced the following error:

/sources/glibc-2.3.4-20040701/nptl/tst-cancel4.c:948: warning: the use 
of `mktem
p' is dangerous, better use `mkstemp'
tst-cancel7.c:172: warning: 'do_cleanup' defined but not used
make[2]: *** [/sources/glibc-build/nptl/tst-clock2.out] Error 1
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2
root:/sources#

Looking a little closer at tst-clock2.out gives:

root:/sources/glibc-build/nptl# cat tst-clock2.out
difference between thread 0 and 1 too small (0.041604119)

Browsing the internet I find that:

tst-clock2.c - tests for thread clocks features (pthread_getclockid())

A search of www.linuxfromscratch.org produced nothing. Does anyone know 
what has gone wrong (if anything)? Should I ignore this error because I 
am running on older hardware?

My hardware is:

(/mnt/lfs/sources)> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 648.107
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov 
pat pse36 mmx fxsr sse
bogomips        : 1277.95

(/mnt/lfs/sources)> cat /proc/meminfo
MemTotal:       256048 kB
MemFree:          8724 kB
Buffers:         16948 kB
Cached:         117664 kB
SwapCached:          0 kB
Active:         143020 kB
Inactive:        82512 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       256048 kB
LowFree:          8724 kB
SwapTotal:      500808 kB
SwapFree:       500808 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:         137820 kB
Slab:            15692 kB
Committed_AS:   376628 kB
PageTables:       2228 kB
VmallocTotal:  3874808 kB
VmallocUsed:      2440 kB
VmallocChunk:  3872184 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     4096 kB
(/mnt/lfs/sources)>

Thanks for any suggestions.
-James




More information about the lfs-support mailing list