[C++-sig] Re: FYI: Boost.Python & Linux Intel C++ 8.0

David Abrahams dave at boost-consulting.com
Wed Jan 21 01:46:51 CET 2004


"Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> writes:

> FYI:
>
> Most of Boost.Python works with Linux Intel C++ 8.0 (Build 20031231Z
> Package ID: l_cc_pc_8.0.058) but there are a couple of tricks to know:
>
> - To avoid unresolved symbol warnings /opt/intel_cc_80/lib/libirc.a
>   has to be converted to a shared library:
>
>     /opt/intel_cc_80/bin/icc -shared -o libirc.so /opt/intel_cc_80/lib/libirc.a
>
>   Store libirc.so somewhere in your LD_LIBRARY_PATH.
>
> - To use the native Python define LD_PRELOAD (thanks to Raoul Gough
>   for discovering this). E.g.:
>
>     LD_PRELOAD="/some/path/libirc.so:/opt/intel_cc_80/lib/libunwind.so.5"
>     export LD_PRELOAD

Just use Boost.Build and it should work.
We're adding -cxxlib-gcc to the command line.  Works for me.

> All Boost.Python tests (libs/python/test) compile.
> If compiled with -O0 all run successfully.
> If compiled with -O2 seven end with a segmentation fault.

Maybe LD_PRELOAD isn't really the right approach?  I got the
-cxxlib-gcc option from the Intel support people.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list