This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: gcc 3.4.6: exception handling not working for binary pre-compiled on Redhat


Gaurav Rastogi writes:
 > Problem Synopsis:
 > =================
 > 
 > Exception handling in C++ not working when a binary is compiled
 > against the standard Redhat release 4 update 4 that has gcc 3.4.6 and
 > libstd++ 6.0.3, glibc 2.3.6 with NPTL threads library linked
 > dynamically and run on a cross compiled environment that has the same
 > gcc 3.4.6, glibc 2.3.6 and NTPL linked dynamically to /lib/tls/libc.
 > 
 > In addition, problem does not happen if code is compiled with
 > -static-libgcc option.

Which just about proves that your target libraries are not the same
ones that you cross-compiled against.  Have a very good look at your
target's libgcc and the libgcc on your cross-compiling host and make
sure they are indeed the same.  Also make sure the header files are
the same.

Andrew.


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