[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: followup to segfault/builtin_expect
From: |
David Ford |
Subject: |
Re: followup to segfault/builtin_expect |
Date: |
Sun, 14 Jan 2001 06:16:51 -0800 |
Ok, the __builtin_expect is fixed, I replaced my 'ld' which I now suspect was
corrupted. config.h built correctly with this undefined. I also took your
advice and followed FAQ 2.2 to the letter with the following:
CFLAGS="-pipe" ./configure --prefix=/usr --enable-add-ons, and no configparms
file.
It started off well bug again segfaulted in sunrpc.
../elf/ld-linux.so.2 --library-path
..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
./rpcgen -Y `gcc -print-file-name=cpp | sed 's|/cpp$||'` -c
rpcsvc/bootparam_prot.x -o xbootparam_prot.T
make[1]: *** [xbootparam_prot.stmp] Segmentation fault
make[1]: Leaving directory `/usr/src/glibc-2.2.1/sunrpc'
make: *** [sunrpc/others] Error 2
# strace -f ../elf/ld-linux.so.2 --library-path
..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
./rpcgen -Y `gcc -print-file-name=cpp | sed 's|/cpp$||'` -c
rpcsvc/bootparam_prot.x -o xbootparam_prot.T
execve("../elf/ld-linux.so.2", ["../elf/ld-linux.so.2", "--library-path",
"..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads",
"./rpcgen", "-Y", "/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2", "-c",
"rpcsvc/bootparam_prot.x", "-o", "xbootparam_prot.T"], [/* 33 vars */]) = 0
SYS_199(0x2aac6398, 0, 0x2aac674c, 0x28, 0xa365) = 0
ipc_subcall(0x2aac6398, 0, 0x2aac674c, 0x28) = 0
semop(715940760, 0x28, 0) = 0
semget(715940760, 0, IPC_CREAT|IPC_EXCL|0x2aac614c|0404) = 0
brk(0) = 0x2aac6a0c
brk(0x2aac7a0c) = 0x2aac7a0c
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
# ltrace -S -f ../elf/ld-linux.so.2 --library-path
..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
./rpcgen -Y `gcc -print-file-name=cpp | sed 's|/cpp$||'` -c
rpcsvc/bootparam_prot.x -o xbootparam_prot.T
SYS_199(0x2aac6398, 0, 0x2aac674c, 40, 41833) = 0
SYS_200(0x2aac6398, 0, 0x2aac674c, 40, 41833) = 0
SYS_201(0x2aac6398, 0, 0x2aac674c, 40, 41833) = 0
SYS_202(0x2aac6398, 0, 0x2aac674c, 40, 41833) = 0
SYS_brk(0, 45, 0, 0x2aac6398, 41833) = 0x2aac6a0c
SYS_brk(0x2aac7a0c, 45, 4096, 0x2aac6398, 41833) = 0x2aac7a0c
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
-d
--
..NOTICE fwd: fwd: fwd: type emails will be deleted automatically.
"There is a natural aristocracy among men. The grounds of this are
virtue and talents", Thomas Jefferson [1742-1826], 3rd US President