This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

make: *** [all] Segmentation fault


>Submitter-Id:	net
>Originator:	Jason P Schanuel
>Organization:
 
>Confidential:	no
>Synopsis:	Make seg faults immediately on initial 'make'
>Severity:	serious
>Priority:	low
>Category:	libc
>Class:		sw-bug
>Release:	libc-2.0.108
>Environment:
	PII 300 MHz
	RH 5.1 Linux with most upgrades for newer kernels
Host type: i686-pc-linux-gnu
System: Linux linux2.gobills.org 2.2.0-final #1 Fri Jan 22 18:59:19 EST 1999 i686 unknown
Architecture: i686

Addons: crypt linuxthreads

Build CC: egcs
Compiler version: egcs-2.91.60 19981201 (egcs-1.1.1 release)
Kernel headers: 2.2.0-final
Symbol 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

>Description:
	as a normal user I untar the tree into /usr/src/glibc-2.0.111
        then try to build in /tmp/glibc with
	unset LD_LIBRARY_PATH
	/usr/src/glibc-2.0.111/configure --prefix=/usr --enable-add-ons=crypt,linuxthreads
	make
	make -r PARALLELMFLAGS="-j 4" CVSOPTS="" -C /usr/src/glibc-2.0.111 objdir=`pwd` all
	make: *** [all] Segmentation fault
	strace make
execve("/usr/bin/make", ["make"], [/* 21 vars */]) = 0
brk(0)                                  = 0x8066210
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 20325, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 947864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000
mprotect(0x400f9000, 30360, PROT_NONE)  = 0
mmap(0x400f9000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xdf000) = 0x400f9000
mmap(0x400fe000, 9880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400fe000
close(3)                                = 0
munmap(0x40014000, 20325)               = 0
personality(0 /* PER_??? */)            = 0
getpid()                                = 5704
SYS_174(0x1, 0xbfffe250, 0xbfffe1c4, 0x8, 0x1) = 0
SYS_174(0x3, 0xbfffe254, 0xbfffe1c8, 0x8, 0x3) = 0
SYS_174(0x2, 0xbfffe254, 0xbfffe1c8, 0x8, 0x2) = 0
SYS_174(0xf, 0xbfffe254, 0xbfffe1c8, 0x8, 0xf) = 0
SYS_174(0x18, 0xbfffe254, 0xbfffe1c8, 0x8, 0x18) = 0
SYS_174(0x19, 0xbfffe254, 0xbfffe1c8, 0x8, 0x19) = 0
connect(-1073746808, ptrace: umoven: Input/output error
{...}, 1074779456) = 11
brk(0)                                  = 0x8066210
brk(0x8066230)                          = 0x8066230
brk(0x8067000)                          = 0x8067000
stat("/usr/include", {st_mode=S_IFCHR|S_ISUID|S_ISGID|0777, st_rdev=makedev(17, 75), ...}) = 0
stat("/usr/gnu/include", 0xbfffe36c)    = -1 ENOENT (No such file or directory)
stat("/usr/local/include", {st_mode=0, st_size=0, ...}) = 0
stat("/usr/include", {st_mode=S_IFCHR|S_ISUID|S_ISGID|0777, st_rdev=makedev(17, 75), ...}) = 0
SYS_174(0x11, 0xbfffe254, 0xbfffe1c8, 0x8, 0x11) = 0
SYS_174(0x11, 0xbfffe24c, 0xbfffe1c0, 0x8, 0x11) = 0
SYS_174(0xa, 0xbfffe244, 0xbfffe1b8, 0x8, 0xa) = 0
brk(0x8068000)                          = 0x8068000
brk(0x8069000)                          = 0x8069000
brk(0x806a000)                          = 0x806a000
stat(".", {st_mode=0, st_size=0, ...})  = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|0x10000) = -1 ENOTDIR (Not a directory)
open(".", O_RDONLY|O_NONBLOCK|0x10000)  = 3
fstat(3, {st_mode=0, st_size=0, ...})   = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
brk(0x806c000)                          = 0x806c000
lseek(3, 0, SEEK_CUR)                   = 0
getdents(3, /* 12 entries */, 3391)     = 240
lseek(3, 0, SEEK_CUR)                   = 1024
getdents(3, /* 0 entries */, 3391)      = 0
close(3)                                = 0
open("Makefile", O_RDONLY)              = 3
fstat(3, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(3, "# Generated automatically from M"..., 4096) = 564
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40014000, 4096)                = 0
brk(0x806d000)                          = 0x806d000
stat(ptrace: umoven: Input/output error
0x806cca0, 0xbfffe308)             = -1 ENOENT (No such file or directory)
stat(ptrace: umoven: Input/output error
0x806cca0, 0xbfffe308)             = -1 ENOENT (No such file or directory)
stat("Makefile", {st_mode=0, st_size=0, ...}) = 0
time([917117068])                       = 917117068
stat("all", 0xbfffe318)                 = -1 ENOENT (No such file or directory)
brk(0x806e000)                          = 0x806e000
fstat(1, {st_mode=S_ISVTX|0402, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
ioctl(1, TCGETS, {B9600 opost isig icanon echo ...}) = 0
write(1, "make -r PARALLELMFLAGS=\"-j 4\" "..., 84make -r PARALLELMFLAGS="-j 4" CVSOPTS="" -C /usr/src/glibc-2.0.111 objdir=`pwd` all
) = 84
pipe([3, 4])                            = 0
close(4)                                = 0
SYS_175(0, 0x8066140, 0, 0x8, 0)        = 0
fork()                                  = 5705
SYS_175(0x2, 0xbfffe2b4, 0, 0x8, 0x2)   = 0
wait4(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], 0, NULL) = 5705
--- SIGCHLD (Child exited) ---
sigreturn()                             = ? (mask now [])
uname({sys="Linux", node="linux2.gobills.org", ...}) = 0
write(2, "make: ", 6make: )                   = 6
write(2, "*** [all] Segmentation fault", 28*** [all] Segmentation fault) = 28
write(2, "\n", 1
)                       = 1
stat("all", 0xbfffe1dc)                 = -1 ENOENT (No such file or directory)
SYS_175(0, 0x8066140, 0, 0x8, 0)        = 0
SYS_175(0x2, 0xbfffe234, 0, 0x8, 0x2)   = 0
chdir("/tmp/glibc")                     = 0
munmap(0x40014000, 4096)                = 0
_exit(2)                                = ?
>How-To-Repeat:
	same as Description:
>Fix:
	




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]