bug-glibc
[Top][All Lists]
Advanced

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

segfault attempting to compile 2.2.1


From: David Ford
Subject: segfault attempting to compile 2.2.1
Date: Sun, 14 Jan 2001 02:21:34 -0800

Hi, I'm having a problem trying to build 2.2.1.  Using GCC 2.95.2
release, I get a segfault in the sunrpc directory:


     make[1]: Entering directory `/usr/src/glibc-2.2.1/sunrpc'
     gcc -nostdlib -nostartfiles -o rpcgen
     -Wl,-dynamic-linker=/lib/ld-linux.so.2   ../csu/crt1.o
     ../csu/crti.o `gcc --print-file-name=crtbegin.o` rpc_main.o
     rpc_hout.o rpc_cout.o rpc_parse.o rpc_scan.o rpc_util.o
     rpc_svcout.o rpc_clntout.o rpc_tblout.o rpc_sample.o
     
-Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
     ../libc.so.6 ../libc_nonshared.a -lgcc `gcc
     --print-file-name=crtend.o` ../csu/crtn.o
     ../libc.so.6: undefined reference to `__builtin_expect'
     gcc -nostdlib -nostartfiles -o rpcinfo
     -Wl,-dynamic-linker=/lib/ld-linux.so.2   ../csu/crt1.o
     ../csu/crti.o `gcc --print-file-name=crtbegin.o` rpcinfo.o
     
-Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
     ../libc.so.6 ../libc_nonshared.a -lgcc `gcc
     --print-file-name=crtend.o` ../csu/crtn.o
     ../libc.so.6: undefined reference to `__builtin_expect'
     ../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

The system is a Linux 2.4.0-ac6 i686 currently on GLIBC 2.1.3.

# ld -v
GNU ld version 2.10.91 (with BFD 2.10.1.0.4)
# as -v
GNU assembler version 2.10.91 (i686-pc-linux-gnu) using BFD version
2.10.1.0.4

configure:

# cat configparms
slibdir=/lib
sysconfdir=/etc

# grep "./configure" config.status
# ./configure  --prefix=/usr --exec-prefix= --enable-add-ons
    echo "running ${CONFIG_SHELL-/bin/sh} ./configure  --prefix=/usr
--exec-prefix= --enable-add-ons --no-create --no-recursion"


Any Ideas?

A side note, the web interface to gnats requires a login to browse, it
appears that only developers or members are allowed to review the bugs.

-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






reply via email to

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