- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am evaluating the Intel compiler after using gcc 3.2.2 on a large project.
I installed the Intel compiler, did a "make clean" on my project, modified my makefile to use icc, and built. All of my sources (which contain a lot of templates) built without problems, but during the link, I get numerous errors:
IPO Error: unresolved : __cxa_begin_catch
(referenced in numerous files)
IPO Error: unresolved : __cxa_rethrow
(referenced in numerous files)
IPO Error: unresolved : _ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvj
(referenced in numerous files)
release/file.o(.text+0x25e): In function `destr_detour4.0.65.164':
: undefined reference to `__cxa_guard_release'
I get pages of these errors. I haven't modified my link line (other than changing "g++" to "icc"), but there is nothing "weird" on there. I am linking with a bunch of external static and dynamic libraries though (such as Qt).
Anyone know what the problem is?
I installed the Intel compiler, did a "make clean" on my project, modified my makefile to use icc, and built. All of my sources (which contain a lot of templates) built without problems, but during the link, I get numerous errors:
IPO Error: unresolved : __cxa_begin_catch
(referenced in numerous files)
IPO Error: unresolved : __cxa_rethrow
(referenced in numerous files)
IPO Error: unresolved : _ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvj
(referenced in numerous files)
release/file.o(.text+0x25e): In function `destr_detour4.0.65.164':
: undefined reference to `__cxa_guard_release'
I get pages of these errors. I haven't modified my link line (other than changing "g++" to "icc"), but there is nothing "weird" on there. I am linking with a bunch of external static and dynamic libraries though (such as Qt).
Anyone know what the problem is?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should change "g++" to "icpc" and "gcc" to "icc". It looks like you aren't linking against icpc C++ libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Silly me - that was it. Worked fine, AND my cursory performance test indicated slightly faster than before. Great!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page