LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices



Reply
 
Search this Thread
Old 10-18-2006, 09:18 PM   #1
fatsheep
Member
 
Registered: Sep 2006
Posts: 79

Rep: Reputation: 15
Error Running Glibc 64-bit Test Suite (Chapter 10)


Here's the page of the book I am on:
http://cross-lfs.org/view/1.0.0/x86_...ibc-64bit.html

I get the following output when I run the test suite:

Quote:
root:/sources/glibc-build# make -k check >glibc-check-log 2>&1 ; grep Error glibc-check-log
malloc: using debugging hooks
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/rt/tst-timer.out] Error 139
make[1]: *** [rt/tests] Error 2
make: *** [check] Error 2
Any ideas?

Thanks,

-sheep

Last edited by fatsheep; 10-18-2006 at 09:28 PM.
 
Old 10-19-2006, 01:17 AM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 253

Rep: Reputation: 36
In "glibc-check-log" it should show what happened. I usually do "make check" after "make" so I can see exactly what the error is and it will stop on that error so I can concentrate on it before moving on. Just grepping for "Error" out of the logfile doesn't show anything except the one line, nothing leading up to it.

Keep in mind some of the glibc tests dealing with execution time might fail due to them taking too long to finish due to a load-heavy system or slower processor.

Last edited by jayjwa; 10-19-2006 at 01:31 AM.
 
Old 10-19-2006, 01:44 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

LFS has a page that has all the build logs (this is pentium based, there's also a amd based directory), I don't know if CLFS has a simular page or that the LFS page can be used.

The annexc errors you encounter is mentioned in the LFS document and can be safely ignored. The tst-time.out error is probably execution time related (as jayjwa already mentioned).

If the make step ran without stopping with an error, I do believe that these 2 errors can be ignored and you can continue building your CLFS.

PS: The glibc-check-log contains all the output the make check command created, you can take a look in there and see what happened (the lines before the actual error message).

Hope this helps.
 
Old 10-19-2006, 06:39 AM   #4
fatsheep
Member
 
Registered: Sep 2006
Posts: 79

Original Poster
Rep: Reputation: 15
Here's the log with the errors in bold. I've got to catch a bus right now but I'll recompile and run make check when I get back. Thanks for the help.

Quote:
root:/sources/glibc-build# grep -B3 Error glibc-check-log
annexc.c.text+0x643): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/sources/glibc-build/posix/annexc 'gcc -m64' \
'-I../csu -I../iconv -I../iconvdata -I../locale -I../localedata -I../assert -I../ctype -I../intl -I../catgets -I../math -I../setjmp -I../signal -I../stdlib -I../stdio-common -I../libio -I../dlfcn -I../malloc -I../string -I../wcsmbs -I../timezone -I../time -I../dirent -I../grp -I../pwd -I../posix -I../io -I../termios -I../resource -I../misc -I../socket -I../sysvipc -I../gmon -I../gnulib -I../wctype -I../manual -I../shadow -I../po -I../argp -I../crypt -I../nptl -I../resolv -I../nss -I../rt -I../conform -I../debug -I../nptl_db -I../inet -I../hesiod -I../sunrpc -I../nis -I../nscd -I../streams -I../login -I../elf -I../include -I/sources/glibc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I..' > /sources/glibc-build/posix/annexc.out
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
--
gcc -m64 -nostdlib -nostartfiles -o /sources/glibc-build/rt/tst-timer -Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2 -Wl,-z,combreloc -Wl,-z,relro /sources/glibc-build/csu/crt1.o /sources/glibc-build/csu/crti.o `gcc -m64 --print-file-name=crtbegin.o` /sources/glibc-build/rt/tst-timer.o /sources/glibc-build/rt/librt.so /sources/glibc-build/nptl/libpthread_nonshared.a /sources/glibc-build/nptl/libpthread.so -Wl,-rpath-link=/sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/nptl /sources/glibc-build/libc.so.6 /sources/glibc-build/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed `gcc -m64 --print-file-name=crtend.o` /sources/glibc-build/csu/crtn.o
GCONV_PATH=/sources/glibc-build/iconvdata LC_ALL=C /sources/glibc-build/elf/ld-linux-x86-64.so.2 --library-path /sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/nptl /sources/glibc-build/rt/tst-timer > /sources/glibc-build/rt/tst-timer.out
Segmentation fault
make[2]: *** [/sources/glibc-build/rt/tst-timer.out] Error 139

--
GCONV_PATH=/sources/glibc-build/iconvdata LC_ALL=C /sources/glibc-build/elf/ld-linux-x86-64.so.2 --library-path /sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/nptl /sources/glibc-build/rt/tst-mqueue8x > /sources/glibc-build/rt/tst-mqueue8x.out
make[2]: Target `tests' not remade because of errors.
make[2]: Leaving directory `/sources/glibc-2.4/rt'
make[1]: *** [rt/tests] Error 2

--
/usr/bin/perl scripts/begin-end-check.pl argp/argp.h assert/assert.h catgets/nl_types.h crypt/crypt.h ctype/ctype.h debug/execinfo.h dirent/dirent.h dlfcn/dlfcn.h elf/elf.h elf/link.h gmon/sys/gmon.h gmon/sys/gmon_out.h gmon/sys/profil.h grp/grp.h iconv/iconv.h iconv/gconv.h inet/netinet/ether.h inet/netinet/icmp6.h inet/netinet/igmp.h inet/netinet/in.h inet/netinet/ip6.h inet/arpa/ftp.h inet/arpa/inet.h inet/arpa/telnet.h inet/arpa/tftp.h inet/protocols/routed.h inet/protocols/rwhod.h inet/protocols/talkd.h inet/protocols/timed.h inet/aliases.h inet/ifaddrs.h inet/netinet/ip6.h inet/netinet/icmp6.h intl/libintl.h io/sys/stat.h io/sys/statfs.h io/sys/vfs.h io/sys/statvfs.h io/fcntl.h io/sys/fcntl.h io/poll.h io/sys/poll.h io/utime.h io/ftw.h io/fts.h io/sys/sendfile.h libio/stdio.h libio/libio.h locale/locale.h locale/langinfo.h locale/xlocale.h login/utmp.h login/lastlog.h login/pty.h malloc/malloc.h malloc/obstack.h malloc/mcheck.h math/math.h math/complex.h math/fenv.h math/tgmath.h misc/sys/uio.h nis/rpcsvc/nis.h nis/rpcsvc/nis_callback.h nis/rpcsvc/nis_tags.h nis/rpcsvc/nislib.h nis/rpcsvc/yp.h nis/rpcsvc/yp_prot.h nis/rpcsvc/ypclnt.h nis/rpcsvc/ypupd.h nptl_db/thread_db.h nptl/sysdeps/pthread/pthread.h nptl/semaphore.h nss/nss.h posix/sys/utsname.h posix/sys/times.h posix/sys/wait.h posix/sys/types.h posix/unistd.h posix/glob.h posix/regex.h posix/wordexp.h posix/fnmatch.h posix/getopt.h posix/tar.h posix/sys/unistd.h posix/sched.h posix/re_comp.h posix/wait.h posix/cpio.h posix/spawn.h pwd/pwd.h resolv/resolv.h resolv/netdb.h resolv/arpa/nameser.h resolv/arpa/nameser_compat.h resource/sys/resource.h resource/sys/vlimit.h resource/sys/vtimes.h resource/ulimit.h rt/aio.h rt/mqueue.h setjmp/setjmp.h shadow/shadow.h signal/signal.h signal/sys/signal.h socket/sys/socket.h socket/sys/un.h stdio-common/printf.h stdio-common/stdio_ext.h stdlib/stdlib.h stdlib/alloca.h stdlib/monetary.h stdlib/fmtmsg.h stdlib/ucontext.h sysdeps/generic/inttypes.h sysdeps/generic/stdint.h stdlib/errno.h stdlib/sys/errno.h string/string.h string/strings.h string/memory.h string/endian.h string/argz.h string/envz.h string/byteswap.h sunrpc/rpc/auth.h sunrpc/rpc/auth_des.h sunrpc/rpc/auth_unix.h sunrpc/rpc/clnt.h sunrpc/rpc/des_crypt.h sunrpc/rpc/key_prot.h sunrpc/rpc/netdb.h sunrpc/rpc/pmap_clnt.h sunrpc/rpc/pmap_prot.h sunrpc/rpc/pmap_rmt.h sunrpc/rpc/rpc.h sunrpc/rpc/rpc_des.h sunrpc/rpc/rpc_msg.h sunrpc/rpc/svc.h sunrpc/rpc/svc_auth.h sunrpc/rpc/types.h sunrpc/rpc/xdr.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > /sources/glibc-build/begin-end-check.out
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.4'
make: *** [check] Error 2
 
Old 10-19-2006, 10:58 PM   #5
fatsheep
Member
 
Registered: Sep 2006
Posts: 79

Original Poster
Rep: Reputation: 15
Here's the error I got when running "make check":

Quote:
GCONV_PATH=/sources/glibc-build/iconvdata LC_ALL=C /sources/glibc-build/elf/ld-linux-x86-64.so.2 --library-path /sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/nptl /sources/glibc-build/nptl/tst-attr3 > /sources/glibc-build/nptl/tst-attr3.out
/sources/glibc-build/nptl/tst-attr3: pthread_getattr_np failed: No such file or directory
/sources/glibc-build/nptl/tst-attr3: pthread_attr_getstack returned range does not cover main's stack
/sources/glibc-build/nptl/tst-attr3: pthread_attr_getaffinity_np returned different CPU mask than pthread_getattr_np
make[2]: *** [/sources/glibc-build/nptl/tst-attr3.out] Error 1
make[2]: Leaving directory `/sources/glibc-2.4/nptl'
make[1]: *** [nptl/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.4'
make: *** [check] Error 2
 
Old 10-20-2006, 10:19 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

It's not easy to give you concrete evidence, but this could be a bug [Bug libc/2529] New: tst-timer check fails: segmentation fault

I'm not that concerned about the error 1 and error 2 messages. The first is ignored by make check and the book mentions the possibility of error 2 messages during timed testing. The seg fault and error 139 in your previous post (#4) could be a show stopper. Lets hope it's the bug mentioned in the url.

If you are 100% sure nothing went wrong in the previous part of the book, continue with the build. The upcoming chapters will tell you soon enough if all is well (or not....).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors during the test suite for Glibc-20050926 32 Bit � Cross compile x86_64 Basel Linux From Scratch 3 10-29-2005 07:45 AM
LFS 6-1: Glibc Test Suite Fails at end with 2 errors in Chapter 6 TGWDNGHN Linux From Scratch 1 07-26-2005 01:23 PM
glibc-2.3.3 in chapter 6 error znif Linux From Scratch 11 06-28-2004 08:15 AM
Chapter 6 Glibc error in configure MasterC Linux From Scratch 6 07-17-2003 02:17 PM
LFS 3.3 - chapter 6 - glibc error fend88 Linux From Scratch 5 04-29-2002 12:06 AM


All times are GMT -5. The time now is 01:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration