I'm using ICC for OSX (m_ccompxe_2013.3.171.dmg) with Xcode 4.6.2 and I've a problem:
- if "Generate Debug Info" = on, then all is Ok. However, if off, then link fails. Looking undersolved symbols I've noticed that corresponded object file (.o) is invalid and always has length 152 bytes. Changing source I force recompiling and .o file becomes Ok, but the issue repeats at next rebuild. What am I doing wrong? Or it's a bug?
Hi, Sergey, thx for your input
The link output is in attached zip. There is also invalid (.o (bad)) file (size 152) that produces unresolvеd(s). When I check the source, then a normal file is compiled (.o (good)), and other link errors produced (with next invalid .o), When I clean prj and rebuild from scratch - all happens again, and other .o files are invalid. The problem disappear if I set "Generate Debug Information" = on
>> Try to do a test:
What is such test for? To prove that link fails with corrupted lib? I agreed 100% even without any test :-) Here I know why produced lib is incorrect - because some sources aren't compiled properly. Sorry if I've not explained this well.