building an old glibc

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

 



Hello,
I am trying to build an old GLIBC (2.12) for a test on my Ubuntu 12.04 x86_64 with gcc-4.6.3. However, I faced this error

make[2]: Entering directory `/opt/glibc-2.12.2-src/sunrpc'
CPP='gcc -E -x c-header'  /opt/glibc-2.12.2-built/elf/ld-linux-x86-64.so.2 --library-path /opt/glibc-2.12.2-built:/opt/glibc-2.12.2-built/math:/opt/glibc-2.12.2-built/elf:/opt/glibc-2.12.2-built/dlfcn:/opt/glibc-2.12.2-built/nss:/opt/glibc-2.12.2-built/nis:/opt/glibc-2.12.2-built/rt:/opt/glibc-2.12.2-built/resolv:/opt/glibc-2.12.2-built/crypt:/opt/glibc-2.12.2-built/nptl /opt/glibc-2.12.2-built/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /opt/glibc-2.12.2-built/sunrpc/xbootparam_prot.T
make[2]: *** [/opt/glibc-2.12.2-built/sunrpc/xbootparam_prot.stmp] Segmentation fault (core dumped)
make[2]: Leaving directory `/opt/glibc-2.12.2-src/sunrpc'



Searching for that error shows similar posts but I didn't find a clear answer. I have added -U_FORTIFY_SOURCE and -fno-stack-protector because removing those switches will generate other errors.

Is there any way to fix that?


 
Regards,
Mahmood





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux