Bugzilla – Bug 553
Running code built with a special gcc
Last modified: 2009-04-21 03:59:07 UTC
The build works with gcc 4.4.0 but the checktests and the regression tests doesn't pass in the optimized mode.
On a system with multiple compilers installed, we need to link explicitely against the compiler's c++ library: For example: bash-3.2$ g++-4.4.0 -print-file-name=libstdc++.so /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib64/libstdc++.so Would it be possible/would it make sense to use -rpath with the above command to link against the c++ stl library with waf ?
Created attachment 421 [details] a patch Patch implementing Mathieu's suggestion. No idea if this solves the problem. I don't think I have the correct environment to test.
Created attachment 422 [details] another patch Then again, Mathieu says rpath, so could be this patch instead.
Created attachment 423 [details] patch using xxx_LIBRARY_PATH Then again, if this works it is probably more portable.
changeset: 2e79cbd62d28