- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All
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?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>> That looks like some internal problem with a linker.
IMO linker must fail if it receives corrupted .o files (junk in - junk out)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>> 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.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page