bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'make check' failure with glibc 2.2


From: jason
Subject: 'make check' failure with glibc 2.2
Date: Wed, 15 Nov 2000 10:36:34 -0600 (CST)

Hi,

I haven't seen any mention of this anywhere, and GNATS doesn't seem to
exist, so here goes.  After successfully compiling glibc 2.2, I get the
following error with 'make check':

----------------

make  -C elf tests
make[2]: Entering directory 
`/mnt/shn/download/in/stuff/glibc-src/2.2/glibc-2.2/elf'
gcc -nostdlib -nostartfiles -o 
/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismain  
-Wl,-dynamic-linker=/lib/ld-linux.so.2   
/mnt/shn/download/in/stuff/glibc-src/2.2/build/csu/crt1.o 
/mnt/shn/download/in/stuff/glibc-src/2.2/build/csu/crti.o `gcc 
--print-file-name=crtbegin.o` 
/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismain.o 
/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismod1.so 
/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismod2.so  
-Wl,-rpath-link=/mnt/shn/download/in/stuff/glibc-src/2.2/build:/mnt/shn/download/in/stuff/glibc-src/2.2/build/math:/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf:/mnt/shn/download/in/stuff/glibc-src/2.2/build/dlfcn:/mnt/shn/download/in/stuff/glibc-src/2.2/build/nss:/mnt/shn/download/in/stuff/glibc-src/2.2/build/nis:/mnt/shn/download/in/stuff/glibc-src/2.2/build/rt:/mnt/shn/download/in/stuff/glibc-src/2.2/build/resolv:/mnt/shn/download/in/stuff/glibc-src/2.2/build/crypt:/mnt/shn/download/in/stuff/glibc-src/2.2/build/linuxthreads
 /mnt/shn/download/in/stuff/glibc-src/2.2/build/libc.so.6 
/mnt/shn/download/in/stuff/glibc-src/2.2/build/libc_nonshared.a -lgcc `gcc 
--print-file-name=crtend.o` 
/mnt/shn/download/in/stuff/glibc-src/2.2/build/csu/crtn.o
GCONV_PATH=/mnt/shn/download/in/stuff/glibc-src/2.2/build/iconvdata LC_ALL=C 
LD_PRELOAD=/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismod3.so 
/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/ld-linux.so.2 --library-path 
/mnt/shn/download/in/stuff/glibc-src/2.2/build:/mnt/shn/download/in/stuff/glibc-src/2.2/build/math:/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf:/mnt/shn/download/in/stuff/glibc-src/2.2/build/dlfcn:/mnt/shn/download/in/stuff/glibc-src/2.2/build/nss:/mnt/shn/download/in/stuff/glibc-src/2.2/build/nis:/mnt/shn/download/in/stuff/glibc-src/2.2/build/rt:/mnt/shn/download/in/stuff/glibc-src/2.2/build/resolv:/mnt/shn/download/in/stuff/glibc-src/2.2/build/crypt:/mnt/shn/download/in/stuff/glibc-src/2.2/build/linuxthreads
 /mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismain  > 
/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismain.out
Timed out: killed the child process
make[2]: *** [/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismain.out] 
Error 1
make[2]: Leaving directory 
`/mnt/shn/download/in/stuff/glibc-src/2.2/glibc-2.2/elf'
make[1]: *** [elf/tests] Error 2
make[1]: Leaving directory `/mnt/shn/download/in/stuff/glibc-src/2.2/glibc-2.2'
make: *** [check] Error 2

----------------

Afterwards, vismain.out contains the single line below:

`.protected' seems to be handled correctly, good!

I'm running kernel 2.2.17.  The problem occurs with both configurations
I've tried:

../glibc-2.2/configure --prefix=/usr --enable-add-ons
../glibc-2.2/configure --prefix=/usr --enable-kernel=2.2.17 --enable-add-ons

Here is the top of glibcbug:

VERSION="2.2"
RELEASE="stable"
ADDONS="linuxthreads"
HOST="i686-pc-linux-gnu"
CC='gcc'
CCVERSION='2.95.2 19991024 (release)'
CFLAGS=""
SYSINCLUDES=""
VERSIONING="yes"
BUILD_STATIC="yes"
BUILD_SHARED="yes"
BUILD_PIC_DEFAULT="no"
BUILD_PROFILE="yes"
BUILD_OMITFP="no"
BUILD_BOUNDED="no"
BUILD_STATIC_NSS="no"
STDIO="libio"

And finally, the strace of the failing program (vismain):

-------------
execve("/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/ld-linux.so.2", 
["/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/ld-linux.so.2", 
"--library-path", 
"/mnt/shn/download/in/stuff/glibc-src/2.2/build:/mnt/shn/download/in/stuff/glibc-src/2.2/build/math:/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf:/mnt/shn/download/in/stuff/glibc-src/2.2/build/dlfcn:/mnt/shn/download/in/stuff/glibc-src/2.2/build/nss:/mnt/shn/download/in/stuff/glibc-src/2.2/build/nis:/mnt/shn/download/in/stuff/glibc-src/2.2/build/rt:/mnt/shn/download/in/stuff/glibc-src/2.2/build/resolv:/mnt/shn/download/in/stuff/glibc-src/2.2/build/crypt:/mnt/shn/download/in/stuff/glibc-src/2.2/build/linuxthreads",
 "/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismain"], [/* 47 vars 
*/]) = 0
uname({sys="Linux", node="guru", ...})  = 0
getuid()                                = 505
getgid()                                = 505
geteuid()                               = 505
getegid()                               = 505
brk(0)                                  = 0x80016480
brk(0x80017480)                         = 0x80017480
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismain", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2"..., 1024) = 1024
fstat(4, {st_mode=S_ISUID|S_ISGID|0501, st_size=0, ...}) = 0
mmap(0x8048000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 
0x8048000
mmap(0x804b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x2000) = 
0x804b000
close(4)                                = 0
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismod3.so", O_RDONLY) 
= 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 1024) = 1024
fstat(4, {st_mode=S_ISVTX|0503, st_size=0, ...}) = 0
mmap(0, 6696, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40000000
mprotect(0x40001000, 2600, PROT_NONE)   = 0
mmap(0x40001000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0) = 
0x40001000
close(4)                                = 0
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40002000
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismod1.so", O_RDONLY) 
= 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 1024) = 1024
fstat(4, {st_mode=S_ISUID|051, st_size=0, ...}) = 0
mmap(0, 7400, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40003000
mprotect(0x40004000, 3304, PROT_NONE)   = 0
mmap(0x40004000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0) = 
0x40004000
close(4)                                = 0
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/elf/vismod2.so", O_RDONLY) 
= 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 1024) = 1024
fstat(4, {st_mode=0416, st_size=0, ...}) = 0
mmap(0, 7628, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40005000
mprotect(0x40006000, 3532, PROT_NONE)   = 0
mmap(0x40006000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0) = 
0x40006000
close(4)                                = 0
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/i686/mmx/libc.so.6", 
O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/mnt/shn/download/in/stuff/glibc-src/2.2/build/i686/mmx", 0xbfffe684) = 
-1 ENOENT (No such file or directory)
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/i686/libc.so.6", O_RDONLY) 
= -1 ENOENT (No such file or directory)
stat("/mnt/shn/download/in/stuff/glibc-src/2.2/build/i686", 0xbfffe684) = -1 
ENOENT (No such file or directory)
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/mmx/libc.so.6", O_RDONLY) 
= -1 ENOENT (No such file or directory)
stat("/mnt/shn/download/in/stuff/glibc-src/2.2/build/mmx", 0xbfffe684) = -1 
ENOENT (No such file or directory)
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/libc.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 1024) = 1024
fstat(4, {st_mode=S_IFIFO|S_ISGID|S_ISVTX|0107, st_size=0, ...}) = 0
mmap(0, 1103076, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40007000
mprotect(0x4010b000, 38116, PROT_NONE)  = 0
mmap(0x4010b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 
0x103000) = 0x4010b000
mmap(0x40111000, 13540, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40111000
close(4)                                = 0
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/libc.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 1024) = 1024
fstat(4, {st_mode=S_IFIFO|S_ISGID|S_ISVTX|0107, st_size=0, ...}) = 0
close(4)                                = 0
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/libc.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 1024) = 1024
fstat(4, {st_mode=S_IFIFO|S_ISGID|S_ISVTX|0107, st_size=0, ...}) = 0
close(4)                                = 0
open("/mnt/shn/download/in/stuff/glibc-src/2.2/build/libc.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 1024) = 1024
fstat(4, {st_mode=S_IFIFO|S_ISGID|S_ISVTX|0107, st_size=0, ...}) = 0
close(4)                                = 0
mprotect(0x40007000, 1064960, PROT_READ|PROT_WRITE) = 0
mprotect(0x40007000, 1064960, PROT_READ|PROT_EXEC) = 0
getpid()                                = 25905
fork()                                  = 25906
alarm(2)                                = 0
SYS_174(0xe, 0xbffff070, 0xbfffefe4, 0x8, 0xe) = 0
wait4(25906, 0xbffff290, 0, NULL)       = ? ERESTARTSYS (To be restarted)
--- SIGALRM (Alarm clock) ---
kill(25906, SIGKILL)                    = 0
wait4(25906, NULL, WNOHANG, NULL)       = 0
write(2, "Timed out: killed the child proc"..., 36) = 36
_exit(1)                                = ?
-------------

Re-running 'make check' skips the failing test, and the rest succeed, so
this is the only program that fails.  Any ideas?

Thanks,
-jason




reply via email to

[Prev in Thread] Current Thread [Next in Thread]