if -pg flag used with icc, app segfaults (linux)

if -pg flag used with icc, app segfaults (linux)

Imagen de scottdudley

testing icc... i found that if i add -pg to my CFLAGS, the app segfaults when i run it. if i remove the -pg, all is well again but i cannot profile my code. has anyone else observed this behavior?

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de barnali-banerjee7

Hi

I had used "-O2/-O3 -pg" with icc and it worked with gprof (single threaded apps). Can you please let me know what are the other options you are providing to the compiler ? Also, is your application single or multithreaded ?
The best way to profile, is however, by using VTune Analyzer.

Regards
Barnali

Inicie sesión para dejar un comentario.