Thanks for all your help. This is not an academic test. We run similar programs in our production environment.
Opensuse 10.2 64bit glibc behaves perfectly fine on both opteron and xeon RHEL 4, 5.1 64bit glibc is misbehaving on Xeon, but not on opteron. I have just uploaded related files, you can test this on any Xeon and OPteron http://yussing.googlepages.com/test.tar.gz 1. gcc sorttest.c -lm -O3 -o sorttest 2. make sure that it is 64bit binary $ldd sorttest libm.so.6 => /lib64/libm.so.6 (0x00002ad9346ab000) libc.so.6 => /lib64/libc.so.6 (0x00002ad934901000) /lib64/ld-linux-x86-64.so.2 (0x00002ad93448d000) 3. Then use the suse linker along with its 64bit glibc, and test it on xeon, as well as on OPteron $time ./ld-suse --library-path . ./sorttest 20 4. Try it with RHEL 5.1 linker along with its glibc $time ./ld-rhel5 --library path . /sorttest 20 You can see the difference. ./TEST/ ./TEST/SUSE10.2/ ./TEST/SUSE10.2/ld-suse ./TEST/SUSE10.2/sorttest.c ./TEST/SUSE10.2/libm.so.6 ./TEST/SUSE10.2/libc.so.6 ./TEST/RHEL5.1/ ./TEST/RHEL5.1/ld-rhel5 ./TEST/RHEL5.1/sorttest.c ./TEST/RHEL5.1/libm.so.6 ./TEST/RHEL5.1/sorttest ./TEST/RHEL5.1/libc.so.6 _______________________________________________ rhelv5-list mailing list rhelv5-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv5-list