
K. Noel Belcourt wrote:
On Dec 14, 2008, at 11:01 PM, Vladimir Prus wrote:
K. Noel Belcourt wrote:
Adding this flag generates significantly more detailed output, but it appears that the same libraries are still being skipped.
Ehm. I forgot to mention that I need that detailed output -- the option is not supposed to change the behaviour. And for avoidable of doubt -- it's best to get the output for a single test.
Log for algorithm/minmax/test is attached.
Are you explicitling specifying runtime-link=static somewhere? If so, why?
Yes. A change in the intel-11.0 compilers causes massive test failures when runtime-link=shared, so I thought I'd try runtime- link=static to see if I could get the intel-11.0 tests working.
With runtime-link=shared, all the tests fail to run because they can't find one or more intel runtime libraries. The documentation is clear the DYLD_LIBRARY_PATH must be set.
-shared-intel
Causes Intel-provided libraries to be linked in dynami- cally.
Architectures: IA-32, Intel(R) 64, IA-64 architectures
Default:
OFF Intel libraries are linked in stati- cally, with the exception of libguide on Linux* and Mac OS* X systems, where it is linked in dynamically.
Description:
This option causes Intel-provided libraries to be linked in dynamically. It is the opposite of -static-intel.
NOTE: On Mac OS X systems, when you set "Intel Runtime Libraries" to "Dynamic", you must also set the DYLD_LIBRARY_PATH environment variable within Xcode or an error will be displayed.
But the tests all fail for errors like this.
dyld: Library not loaded: libintlc.dylib Referenced from: /private/tmp/kbelco/boost/results/boost/bin.v2/ libs/assign/test/multi_index_container.test/intel-darwin-11.0/debug/ multi_index_container Reason: Incompatible library version: multi_index_container requires version 1.0.0 or later, but libintlc.dylib provides version 0.0.0
Even though my environment has DYLD_LIBRARY_PATH set correctly.
DYLD_LIBRARY_PATH=/opt/intel/Compiler/11.0/056/lib
It seems like there's a bug in testing.jam that fails to pick up and use the users environment prior to running the tests. As I said, this is a change in behavior with intel-11.0
If you edit testing.jam, run-path-setup function so that this block: PATH_SETUP on $(target) = [ common.prepend-path-variable-command [ os.shared-library-path-variable ] : $(dll-paths) ] ; is commented out, does this improve things for runtime-link=shared? - Volodya