Subject: [Boost-bugs] [Boost C++ Libraries] #9176: Intel compiler needs custom archiver
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-29 09:06:46
#9176: Intel compiler needs custom archiver
-------------------------------------+---------------------------
Reporter: johnmaddock | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+---------------------------
The Intel C++ compiler should have static libraries built with xiar not ar
on Linux, probably on OSX as well but I don't know about that for sure.
Without this static libraries built with -ipo (inter procedural
optimizations) are non-usable. I'm attaching a partial patch for this,
but note that:
* It's only a partial solution since the Intel setup script isn't called
before calling xiar - I couldn't figure out how to achieve that.
* Compiled executables often don't run - again the Intel setup script
needs to be run before the executable so that Intel's shared libraries can
be found. One workaround would be to always link with the -static-intel
flag.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9176> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC