|
Boost-Build : |
From: Peter Simons (simons_at_[hidden])
Date: 2005-04-11 08:58:59
Hi,
I build a small library using Boost.Build v2 (as found in CVS-HEAD), and
until recently that worked just fine. Out of the sudden I get compiler
errors when building with icc version 8.0, though:
intel-linux.link.dll /path/to/bindir/intel-linux-8.0/debug/threading-multi/neoxx_sanity.so
/usr/bin/ld: -static and -shared may not be used together
"icpc" -o
"/path/to/bindir/intel-linux-8.0/debug/threading-multi/neoxx_sanity.so"
-Wl,-h -Wl,neoxx_sanity.so -shared
"/path/to/bindir/intel-linux-8.0/debug/threading-multi/syslogger.o"
-lpthread -lrt -g -pthread
...failed intel-linux.link.dll /path/to/bindir/intel-linux-8.0/debug/threading-multi/neoxx_sanity.so...
intel-linux.link.dll /usr/local/src/boost-current/bin.v2/libs/thread/build/intel-linux-8.0/debug/threading-multi/boost_thread-8.0-mt-d_1.32.0.so.1.32.0
/usr/bin/ld: -static and -shared may not be used together
The compiler is configured in a global /etc/site-config.jam file as
follows:
using intel-linux
: 8.0
:
: <cxxflags>"-D__interface=tmpinterface" ;
The define is required to work around a problem with glibc headers; I doubt
it causes this problem.
I don't see where the -static flag comes from. The command shown above (as
echoed by bjam) doesn't seem to include it.
Any ideas or pointers what is causing this?
Peter
P. S.: I also got problems with the statement
using python : 2.3 : /usr ;
in my /etc/site-config.jam out of the sudden. bjam spouted lots of warnings
when reading the site config and I had to remove the line altogether to
make it happy again. No idea why. Maybe that's related?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk