On Thu, Nov 16, 2006 at 10:46:40PM -0800, David Scriven wrote: > I have two programs that when compiled under the latest version of g++: > gcc version 4.1.1 20061011 (Red Hat 4.1.1-30) work perfectly > under FC6 but give the error 'Floating point exception' when run under FC5. > (The version of g++ in FC5 is 4.1.1 20060525 (Red Hat 4.1.1.-1) Any program compiled/linked on FC6 will by default not work on FC5 or earlier. Besides the usual "glibc and other libraries are only backwards compatible, not forward compatible" which very often renders building on later distro version and running on earlier one impossible, in FC6 there is additional difference that FC6 emits by default only .gnu.hash section (and FC6 dynamic linker understands both .gnu.hash and .hash), while FC5 and earlier dynamic linker only groks .hash section. So, if you are lucky and you won't happen to use any glibc/libstdc++/libgcc etc. FC6+ only symbol versions in your program, you still need to link with -Wl,--hash-style=both or -Wl,--hash-style=sysv if you want to have a chance of working on earlier release. Jakub -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list