bug-glibc
[Top][All Lists]
Advanced

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

Re: segfault attempting to compile 2.2.1


From: David Ford
Subject: Re: segfault attempting to compile 2.2.1
Date: Sun, 14 Jan 2001 17:28:43 -0800

Andreas Jaeger wrote:

> >>>>> David Ford writes:
>
> >> Ok, please tell me if it's not working - as usual it works for me ;-)
>  > I certainly will.
>
>  > Another side note which is probably related to the current segfault is 
> that several programs such as XF86 and
>  > mozilla, refuse to compile, all similarly segfaulting when a make rule is 
> encountered with LD_LIBRARY_PATH is
>  > set to a ../../somepath/libfile.  It doesn't happen to all of these rules 
> but I haven't found a commonality to
>  > this.
> Try building outside the sourcedirectory but it should work inside also.
>
>  > This occurs on a previously built glibc 2.2.
>
>  > I also note that the new ldconfig program that comes with 2.2 complains 
> with:
>
>  > # ldconfig
>  > ldconfig: Can't stat .2
> Fixed in glibc 2.2.1 which has just been released - but that problem
> is more cosmetic.

I agree.


On the segfault, it still happens when built from freshly untarred source:

mkdir /usr/src/glibc-build
cd /usr/src/glibc-build
CFLAGS="-pipe" ../glibc-2.2.1/configure --prefix=/usr --enable-add-ons
make

[...]
/usr/src/glibc-build/elf/ld-linux.so.2 --library-path
/usr/src/glibc-build:/usr/src/glibc-build/math:/usr/src/glibc-build/elf:/usr/src/glibc-build/dlfcn:/usr/src/glibc-build/nss:/usr/src/glibc-build/nis:/usr/src/glibc-build/rt:/usr/src/glibc-build/resolv:/usr/src/glibc-build/crypt:/usr/src/glibc-build/linuxthreads
/usr/src/glibc-build/sunrpc/rpcgen -Y `gcc -print-file-name=cpp | sed 
's|/cpp$||'` -c rpcsvc/bootparam_prot.x -o
/usr/src/glibc-build/sunrpc/xbootparam_prot.T
make[2]: *** [/usr/src/glibc-build/sunrpc/xbootparam_prot.stmp] Segmentation 
fault
make[2]: Leaving directory `/usr/src/glibc-2.2.1/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.2.1'
make: *** [all] Error 2

-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]