- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I am very unaware of certain compiler errors and warnings, but my advisor has recruited me to fix a problem for him. After scouring the web and stackoverflow, I am very unsure of what to do...I will show a compilation and the errors associated. I apologize for how rudimentary this is, but I have no knowledge on this.
ifort -lm ZOHDI-SIMPLE-PROTOTYPE-CODE-5.
ifort: warning #10315: specifying -lm before files may supercede the Intel(R) math library and affect performance
ipo: warning #11021: unresolved _OBJC_CLASS_$_NSObject
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _OBJC_METACLASS_$_NSObject
Referenced in /usr/lib/system/libdispatch.
Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved ___objc_personality_v0
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved __objc_empty_cache
Referenced in /usr/lib/system/libdispatch.
Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved __objc_empty_vtable
Referenced in /usr/lib/system/libdispatch.
Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved __objc_init
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _auto_zone_release
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _auto_zone_retain
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _class_createInstance
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _class_getName
Referenced in /usr/lib/system/libdispatch.
Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_autoreleasePoolPop
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _objc_autoreleasePoolPush
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _objc_begin_catch
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _objc_collectableZone
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _objc_collectingEnabled
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _objc_end_catch
Referenced in /usr/lib/system/libdispatch.
ipo: warning #11021: unresolved _objc_lookUpClass
Referenced in /usr/lib/system/libdispatch.
Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_msgSend
Referenced in /usr/lib/system/libdispatch.
Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_msgSendSuper2
Referenced in /usr/lib/system/libdispatch.
Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_msgSend_fixup
Referenced in /usr/lib/system/libdispatch.
Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_terminate
Referenced in /usr/lib/system/libdispatch.
ipo: remark #11001: performing single-file optimizations
ipo: remark #11006: generating object file /var/folders/fv/
ld: warning: -macosx_version_min not specified, assuming 10.6
Many variants of the linker order were tried, and still produced these errors/warnings. This is on his Mac desktop running OS 10.8.X, whereas on his Mac powerbook running OS 10.9.X has no issues. I am weary to install OS 10.10.X because that caused many of our lab members issues with compiler linkers/libraries. Has anyone seen this before?
Also, is it possible to uninstall and reinstall ifort on his computer and see if that makes a difference? How would we do that since I'm sure his product license has expired. Or can one move a license from another one of his computers to his Desktop?
Thanks so much for the help, I really need it!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try heeding the warning about removing -lm, and try also removing -fast?
Fortran compilers don't require -lm, but if you do use it, the normal position is at the end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems like maybe the desktop has an older Xcode. Try: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version on each system.
The linker warning at the end relates to a fix back in our 12.1 compiler to support a newer ld that appeared around the OS X* 10.6 timeframe. You might have checked this already but you didn’t say what version of ifort are you using on each. (Try: ifort -V)
For the OS X* versions you listed, this is what is supported:
Parallel Studio XE 2013 (ifort 13.0), on OS X* 10.8 with XCode 4.4, 4.5, 4.6. For more details refer to: https://software.intel.com/sites/default/files/managed/57/9a/release-notes-f-2013-m-en-u5.pdf
Parallel Studio XE 2013 SP 1 (ifort 14.0), on OS X* 10.8 with XCode 4.6, 5.0, 5.1, on OS X* 10.9 with Xcode 5.0, 5.1. For more details refer to: https://software.intel.com/sites/default/files/managed/d1/2d/Release_Notes_F_2013SP1_M_EN-u4.pdf
I would not expect uninstall/reinstalling will change anything, except if you do upgrade Xcode you will want to uninstall/reinstall the Intel compiler too. The RNs cited above include instructions for installing/uninstalling. You can refer to the Intel End User License Agreement (EULA), specifically the named-user license, for permitted uses on multiple computers.
Probably your first step is to decide to run at least the same ifort and Xcode versions, so likely look at upgrading the desktop versions to be consistent with the powerbook.

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