This is the mail archive of the gcc@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: 3.3.2 <--> 3.4.2 compatibility?


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.


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