Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

OS X: icc 10.1.006, program crashes on startup with -prof-gen

ted_mielczarek
Beginner
381 Views
I'm trying to use PGO on OS X, but my application crashes on startup. I'm compiling just one shared library with icc -prof-use, the rest of the app with gcc4. On startup, the app crashes with this stack: (doesn't look terribly useful)
0 0x0354857d in ?? ()
#1 0x006faea0 in _pgopti_2inst_string.96 ()

Any ideas?

Thanks,
-Ted

0 Kudos
1 Reply
Quoc-An_L_Intel
Moderator
381 Views

I assume that you have built with the -prof-gen phase and run the executable before building with the -prof-use.

0 Kudos
Reply