Floating point exception on SUSE2024-03-16 14:29:34今天想将redhat上面的程序放到suse 10上面运行,结果遇到了这个错误: Floating point exception ldd的显示结果: ldd /usr/bin/pkginfo linux-vdso.so.1 => (0x00007fff1c7fe000) libc.so.6 => /lib64/libc.so.6 (0x00002afe8e51c000) /lib64/ld-linux-x86-64.so.2 (0x00002afe8e400000)# on redhatldd /usr/bin/pkginfo libc.so.6 => /lib64/libc.so.6 (0x0000003dd0800000) /lib64/ld-linux-x86-64.so.2 (0x0000003dd0400000)系统版本: uname -aLinux vmsuse 2.6.16.60-0.54.5-default #1 Fri Sep 4 01:28:03 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux# on redhatuname -aLinux temipll1 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linuxgcc版本: # on suse gcc -vUsing built-in specs.Target: x86_64-suse-linuxConfigured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix= --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linuxThread model: posixgcc version 4.1.2 20070115 (SUSE Linux)# on redhat gcc -vUsing built-in specs.Target: x86_64-redhat-linuxConfigured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.大专栏 上一篇:MapReduce数据压缩机制下一篇:9、Linux下很有用的命令LD_DEBUG