Building glibc 2.5.1 with compiler options for using the SSE/SSE2 module
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 Code:
$ make -j6 Code:
rm -f /home/ykwok2/tmp/glibc/src/object-2.5.1/csu/abi-tag.h.new 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! |
You didn't post enough of the output. You need to post the actual error message, not just the exit status (Error 1 and Error 2).
|
Full output of make
Hi,
Thank you very much for pointing it out. Here is the almost full output of $ make -j6 I cannot post the full output due to the 25000 characters limit of the post. Therefore, I truncated the beginning. Please pay attention on the following line at almost the end. This configuration not matched in ../abi-tags'; exit 1 I cannot understand why there is a problem with the ABI. I did not change anything regarding the ABI configuration. For additional info, I got the same error during make if I specify -O0 in CFLAGS and CXXFLAGS. Please help. I would greatly appreciate. Code:
sed -e 's@ /home/ykwok2/tmp/glibc/src/object-2\.5\.1/@ $(common-objpfx)@g' -e 's |
You need to look a little closer at the section you asked me to pay attention to. Let me rewrite it
Code:
if test -r /home/ykwok2/tmp/glibc/src/object-2.5.1/csu/abi-tag.h.new; then Code:
/home/ykwok2/tmp/glibc/src/object-2.5.1/config.h:3:3: error: #error "glibc cannot be compiled without optimization" |
All times are GMT -5. The time now is 05:59 AM. |