Compatibility of recent GCC/Python versions
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Wed Jul 6 22:18:03 EDT 2005
--- David Abrahams <dave at boost-consulting.com> wrote:
> Recently people testing Boost.Python with GCC on Linux have reported
> that the extensions being tested have to be compiled with exactly the
> same version of GCC as the Python they're being loaded into, or they
> get mysterious crashes.
>
> That doesn't correspond to my past experience; it has always been true
> that, as long as the compiler used to build Python and the one used to
> build the extension have compatible 'C' ABIs, we've been okay. Yes,
> if you were going to pass types like FILE* across the Python/C API,
> then you additionally need to be sure that the two compilers are using
> the same 'C' library. That said, none of the Boost.Python tests do
> that.
>
> I'm wondering if there has been a well-known recent change either in Python
> or GCC that would account for these new reports. Any relevant
> information would be appreciated.
Maybe the problems are due to libstdc++ incompatibilities?
See my other message:
http://lists.boost.org/boost/2005/07/29883.php
Cheers,
Ralf
__________________________________
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
More information about the Python-list
mailing list