Fedora Linux Support Community & Resources Center
  #1  
Old 4th January 2007, 11:08 PM
sleeping Offline
Registered User
 
Join Date: Dec 2004
Location: Montréal, Québec, Canada
Age: 34
Posts: 16
FC6 and binary compatibility with other distros

While I know it is quite impossible for every application to be compiled in a way that's binary compatible throughout most distros, there are a minimum set of standards (which LSB tries to enforce I think) that allow applications compiled on one distro to run on another.

I have installed Fedora Core 6 on my development machine (upgraded from FC4), and while I could compile applications on FC4 and then run them on Mandriva, Ubuntu or SuSE, now, even the simplest Hello World crashes on about any other distro with a "Floating point exception" error.

Am I missing something or something really went wrong with either FC6 or gcc (or a combination of both)? I use standard packages and my gcc is the one that came with FC6 (g++ (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30))

Hello World compiled on either Mandriva or SuSE runs fine on FC6, but when compiled on FC6, it gets an FPE on other distros. Is there a flag I could pass g++ to have it be compatible?

Thanks.
Reply With Quote
  #2  
Old 8th January 2007, 03:10 PM
dherity Offline
Registered User
 
Join Date: Jan 2007
Posts: 3
This is similar to my problem. See the thread on "Binary Compatibility FC4 <-> FC6".
Did you figure it out?
Reply With Quote
  #3  
Old 10th January 2007, 11:40 PM
sleeping Offline
Registered User
 
Join Date: Dec 2004
Location: Montréal, Québec, Canada
Age: 34
Posts: 16
Quote:
Originally Posted by dherity
This is similar to my problem. See the thread on "Binary Compatibility FC4 <-> FC6".
Did you figure it out?
Yes, looking at your thread, then at the link you provided in that thread, then at the link provided in that thread... which ends up here : http://fedora.redhat.com/docs/releas...html#id2956225

Quote:
12.2.2. GCC Compiler Collection

This release of Fedora has been built with GCC 4.1, which is included with the distribution.
12.2.2.1. Caveats

*

Fedora developers have introduced changes in the ELF .hash section that provides symbols for dynamic linking. This new .gnu.hash section, which is produced with the new default --hash-style=gnu option for gcc, serves the same purpose as previous hash sections. It provides, however, an approximately 50% increase in dynamic linking speed. Binaries and libraries produced with the new hashing function are incompatible with older glibc and dynamic linker releases. To use the old-style hashing routines for compatibility with older glibc-based systems, pass the --hash-style=sysv option instead.
(emphasis mine)

Thanks
Reply With Quote
Reply

Tags
binary, compatibility, distros, fc6

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Distros you can't get away from seohonolulu Linux Chat 30 16th February 2009 01:19 AM
Trying other distros. wavemaker Linux Chat 6 18th February 2008 09:54 PM
Binary Compatibility FC4 <-> FC6 dherity Using Fedora 1 8th January 2007 03:16 PM
Where old distros go to die? JN4OldSchool Linux Chat 11 25th September 2006 01:57 PM
how to put 6 distros on 1 HD rswitzer Installation, Upgrades and Live Media 8 4th March 2005 12:55 AM


Current GMT-time: 20:50 (Tuesday, 25-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Osuna Photos on Instagram - Kuju Photos - Bibai Travel Photos on Instagram