- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I discovered this bug on Mac OSX 10.11.3. It may or may not also occur for the Linux version. I have a C++ program that will not compile when using both -trackback and -O0. The failure message is
": internal error: 04020005_2237
compilation aborted for Cmd.cc (code 4)
The attached tar file contains an extraction for the code that was exhibiting this problem. I hope you can reproduce the problem on a mac pro running 10.11.3. The procedure is a follows
icpc -c Cmd.cc
normal compile
icpc -c -traceback Cmd.cc
normal compile
icpc -c -O0 Cmd.cc
normal compile
icpc -c -traceback -O0 Cmd.cc
": internal error: 04020005_2237
compilation aborted for Cmd.cc (code 4)
By my understanding -O0 means no optimization, but apparently something is being done to make the compile fail. At the least it should return an understandable error message, not internal error.
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
I am glad you can reproduce the bug. The obvious workaround is to not use -O0 (or probably any -O option) when asking for a traceback. That will do for now.

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