Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Fatal problem in linker 15.0.2 on OSX

$
0
0

Hi, I have a fatal error here - basically I can only compile in release mode with "-ipo" enabled on OSX. Otherwise (debug mode, no ipo...) the linker ends up with this:

0  0x10fd80b51  __assert_rtn + 144
1  0x10fde69fb  ld::tool::OutputFile::addressOf(ld::Internal const&, ld::Fixup const*, ld::Atom const**) + 155
2  0x10fde7faf  ld::tool::OutputFile::applyFixUps(ld::Internal&, unsigned long long, ld::Atom const*, unsigned char*) + 1663
3  0x10fded3a5  ld::tool::OutputFile::writeAtoms(ld::Internal&, unsigned char*) + 495
4  0x10fde5e4f  ld::tool::OutputFile::writeOutputFile(ld::Internal&) + 779
5  0x10fde0551  ld::tool::OutputFile::write(ld::Internal&) + 149
6  0x10fd8181a  main + 1028
A linker snapshot was created at:
/tmp/libMeldaProductionAudioPluginKernel.dylib-2015-03-29-164621.ld-snapshot
ld: Assertion failed: (_mode == modeFinalAddress), function finalAddress, file /SourceCache/ld64/ld64-241.9/src/ld/ld.hpp, line 731.

For the record, the project is huge, so I'm assuming it has some problem with its size... but with LLVM it works just fine, also MSVC & Intel works fine with the same project on Windows. The ICPC version is "15.0.2 20150121". Please help asap.

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>