This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: glibc in cvs failed to build
- To: kukuk@suse.de (Thorsten Kukuk)
- Subject: Re: glibc in cvs failed to build
- From: hjl@lucon.org (H.J. Lu)
- Date: Sun, 2 May 1999 09:49:37 -0700 (PDT)
- Cc: libc-hacker@cygnus.com
>
>
> Hello,
>
> On Sat, May 01, H.J. Lu wrote:
>
> > glibc in CVS as of May 1 at 1pm failed to build on Intel. I am using
> > egcs 1.1.2, adding -mcpu=pentiumpro -march=pentiumpro.
> >
> >
> > --
> > H.J. Lu (hjl@gnu.org)
> > ---
> > /work/build/gnu/bin/glibc/elf/ld-linux.so.2 --library-path /work/build/gnu/bin/glibc:/work/build/gnu/bin/glibc/math:/work/build/gnu/bin/glibc/elf:/work/build/gnu/bin/glibc/nss:/work/build/gnu/bin/glibc/nis:/work/build/gnu/bin/glibc/db2:/work/build/gnu/bin/glibc/rt:/work/build/gnu/bin/glibc/resolv:/work/build/gnu/bin/glibc/linuxthreads /work/build/gnu/bin/glibc/sunrpc/rpcgen -Y `gcc -pipe -mcpu=pentiumpro -march=pentiumpro -print-file-name=cpp | sed "s|/cpp$||"` \
> > -h rpcsvc/bootparam_prot.x -o /work/build/gnu/bin/glibc/sunrpc/rpcsvc/bootparam_prot.T
> > /work/build/gnu/bin/glibc/sunrpc/rpcgen: Cannot allocate memory
> > make[2]: *** [/work/build/gnu/bin/glibc/sunrpc/rpcsvc/bootparam_prot.stmp] Error 1
> > make[1]: *** [sunrpc/others] Error 2
>
> Are you using a machine with 2GB RAM ? I had the same problem here
> with a patched kernel for 2GB RAM, booting a kernel which allows
> only 960MB RAM solved the problem. No recompiling was necessary.
> So I'm not sure if it is a kernel problem.
>
I was running a kernel with a 2GB RAM patch and a P/III patch compiled
by egcs-2.93.19 19990418. It had the glibc build problem. After I
updated the P/III patch and recompiled the kernel with egcs 1.1.2,
the problem is gone. I can build glibc. I assume the bug is either
in the older P/III patch or egcs 19990418.
However, after installing glibc from CVS in May, 1 at 11:30am. most
of my applications on RedHat 6.0 run fine. I just have a problem with
"elm". I got
# elm
zsh: 761 segmentation fault elm
Going back to April, 18's glibc, elm works fine.
--
H.J. Lu (hjl@gnu.org)