This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: portability of shared libraries


On Tue, 2005-04-05 at 10:39 -0700, dave fournier wrote:
> Hi,
> 
> I have been trying to make a shared library that is portable
> between different Linux versions. It is compiled on FC3 and
> runs fine on FC2 and Mandrake 9.1. However it crashes on
> RH8.  I have compiled it with
> 
>     g++  x.c -shared -o nbmm.so -static-libgcc -shared -o $1.so \
>       -Xlinker -static -lado
> 
> When it crashes in RH8 the gdb stack trace reports

AFAIK, the C++ ABI has probably changed enough between RH8 and FC3 to
make this impossible...

-- 
Aaron Gaudio           agaudio @ eng.mc.xerox.com           585-422-6876
               madcap @ irc://rockhopper.eng.mc.xerox.com
 OpenPGP fingerprint: 74B3 1018 08EB 1B3F E7C7  B944 11B1 E0C3 949C 8906
             "Every man is a mob, a chain gang of idiots." 
                     - Jonathan Nolan, /Memento Mori/

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]