i build
glibc 2.10 on CentOS and it's work fine, but when i try to build
glibc 2.11 i realize need newer version of gcc so i install
gcc (GCC) 4.5.0 20091003 (experimental) but when i try make
glibc 2.11 my server not respond on this line
Code:
gcc ../sysdeps/ieee754/dbl-64/dosincos.c -c -std=gnu99 -fgnu89-inline -O2 -
Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-unwind-tables -g -
Wstrict-prototypes -Wno-uninitialized -D__NO_MATH_INLINES -
D__LIBC_INTERNAL_MATH_INLINES -I../include -
I/root/aleppos/libraries/glibc_build/math -
I/root/aleppos/libraries/glibc_build -I../sysdeps/x86_64/elf -
I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -
I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -
I../nptl/sysdeps/pthread -I../sysdeps/pthread -
I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -
I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -
I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -
I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -
I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -
I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -
I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -
I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -
I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -
I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -
DNOT_IN_libc=1 -DIS_IN_libm=1 -
o /root/aleppos/libraries/glibc_build/math/dosincos.o -MD -MP -
MF /root/aleppos/libraries/glibc_build/math/dosincos.o.dt -
MT /root/aleppos/libraries/glibc_build/math/dosincos.o
when i post a bug on glibc i know this i'm using a broken compiler.
so i build
gcc 4.4.2, and when i install
glibc 2.11 i get this problem
"Offending line of ldd output: libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b510e3c3000)" ..
and after i install gcc i get this problem:
gcc: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
so i need to make this to let gcc work
ln -svf /usr/lib/gcc/x86_64-redhat-linux/lib64/libgcc_s.so.1 /lib64/libgcc_s.so.1
ln -svf /lib64/libgcc_s.so.1 /lib64/libgcc_s.so
so i think my problem in libgcc_s