This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.3.2 <--> 3.4.2 compatibility?
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Steve Snyder <R00020C at freescale dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 01 Mar 2005 16:49:22 +0100
- Subject: Re: 3.3.2 <--> 3.4.2 compatibility?
- References: <200503011034.48531.R00020C@freescale.com>
Steve Snyder wrote:
Specifically, I get many, many occurances of this (on the 3.4.3
system):
/usr/include/c++/3.3.2/bits/stl_alloc.h:232: undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
Shouldn't there be binary compatibility between these 2 versions of
GCC?
The quick answer is no, sorry. Have a look to this document, for details:
http://gcc.gnu.org/onlinedocs/libstdc++/abi.html
You can see that going from 3.3.3 to 3.4.0 the major *.so number jumped from
5 to 6, signaling an hard incompatibility.
Paolo.