Hi,
I am building
glibc 2.5.1. My goal is to have the math library
/lib/libm-2.5.1.so to performance math operations with the SSE/SSE modules instead of the default 387 FPU, for the reason for numerical quality.
This is how I configure
glibc.
Code:
$ ../glibc-2.5.1/configure CFLAGS="-mfpmath=sse -msse -msse2" CXXFLAGS="-mfpmath=sse -msse -msse2" --prefix=/usr
The configure process finished successfully with 0 as the exit code. Then, I make'ed glibc with the following command line.
Then, I got the following errors (only the last couple lines are shown but it contains all error messages).
Code:
rm -f /home/ykwok2/tmp/glibc/src/object-2.5.1/csu/abi-tag.h.new
make[2]: *** [/home/ykwok2/tmp/glibc/src/object-2.5.1/tcb-offsets.h] Error 1
make[2]: *** Waiting for unfinished jobs....
sed -e 's/#.*$//' -e '/^[ ]*$/d' ../abi-tags | \
while read conf tagos tagver; do \
test `expr 'i686-pc-linux-gnu' \
: "$conf"` != 0 || continue; \
( echo "$tagos" | \
sed -e 's/[^0-9xXa-fA-F ]//' \
-e 's/^/#define __ABI_TAG_OS /'; \
echo "#ifndef __ABI_TAG_VERSION"; \
echo "$tagver" | \
sed -e 's/[^0-9xXa-fA-F]/ /g' -e 's/ *$//' \
-e 's/ /,/g' -e 's/^/# define __ABI_TAG_VERSION /'; \
echo "#endif" ) > /home/ykwok2/tmp/glibc/src/object-2.5.1/csu/abi-ta
g.h.new; \
done
if test -r /home/ykwok2/tmp/glibc/src/object-2.5.1/csu/abi-tag.h.new; then mv -f
/home/ykwok2/tmp/glibc/src/object-2.5.1/csu/abi-tag.h.new /home/ykwok2/tmp/glib
c/src/object-2.5.1/csu/abi-tag.h; \
else echo >&2 'This configuration not matched in ../abi-tags'; exit 1; f
i
mv -f /home/ykwok2/tmp/glibc/src/object-2.5.1/csu/version-info.hT /home/ykwok2/t
mp/glibc/src/object-2.5.1/csu/version-info.h
make[2]: Leaving directory `/home/ykwok2/tmp/glibc/src/glibc-2.5.1/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/ykwok2/tmp/glibc/src/glibc-2.5.1'
make: *** [all] Error 2
My sys info:
Dual Intel Xeon (2-way HyperTheading)
1GB memory
32-bit CentOS 5.2
2.6.18-92.1.18.el5
gcc 4.1.2
glibc-2.5-24.el5_2.2
Do you have a clue? Please help. Thank you!