Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Thierry_D_
Beginner
89 Views

Access violation or stack overflow during compilation.

I have switched to icc version 16.0.2 (gcc version 5.0.0 compatibility), and now, I cannot compile one of one of my c+++ codes.

Compiler complains:

-------------------------------

[100%] Building CXX object CMakeFiles/test3.dir/maintest3.cpp.o
": internal error: ** The compiler has encountered an unexpected problem.
** Segmentation violation signal raised. **
Access violation or stack overflow. Please contact Intel Support for assistance.

compilation aborted for /homes/doua/tdumont/DGSage/Essai/maintest3.cpp (code 4)

--------------------------

So I contact support...

I join a minimal version of the code, suppressing as most lines as possible. Th code is attached. To compile it:

cd BuildIntel

CXX=icc cmake ..

make

With g++-5.1, it compiles perfecly:

cd Build

cmake ..

make

Thany you in advance.

0 Kudos
2 Replies
Melanie_B_Intel
Employee
89 Views

Can you show the g++ command line which you use to build the file successfully?  

And also the command line for icpc compilation? 

Thanks! --Melanie

Melanie_B_Intel
Employee
89 Views

I opened DPD200407975 in our internal bugs database.  Thanks for reporting this problem. -Melanie

Reply