Opened 9 years ago

#9176 new Bugs

Intel compiler needs custom archiver

Reported by: John Maddock Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost Development Trunk Severity: Problem
Keywords: Cc: jennifer.l.jiang@…

Description

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.

Attachments (1)

intel-jamfile.diff (667 bytes ) - added by John Maddock 9 years ago.

Download all attachments as: .zip

Change History (1)

by John Maddock, 9 years ago

Attachment: intel-jamfile.diff added
Note: See TracTickets for help on using tickets.