'cc: Internal compiler error: program got fatal signal 11' while compiling in debug mode

'cc: Internal compiler error: program got fatal signal 11' while compiling in debug mode

My program works well without the '-g' option, however, when it compiled with debug mode, it will return singal 11 fatal error.I tried using SunStudio 12.1/2 on my solaris 10 machine (SPARC). Is there anyone who know the reason why?================== code ========================CC -mt -g -DDEV_SUN -KPIC -DP_USE_ORBIX -I/export/home/ml3/dev_unix -I/apps/oracle/product/10.2/db_1/precomp/public -I/apps/sslcpp4.5.4.E1.solaris/include -I/usr/local/ssl/include -I/apps/iona/asp/6.3/include -I/export/home/ml3/dev_unix/ORDER/src/force_v32 -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/obs -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/common -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/security -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/gsp -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/import_export -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/PolicyListParser -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/PoaUtility -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/portability -c /export/home/ml3/dev_unix/EPT/src/orc/OrcTimerTask.cpp -o/export/home/ml3/dev_unix/EPT/lib/orc/OrcTimerTask.odb_exec_sql /export/home/ml3/dev_unix/EPT/database/table/T_ALLOWED_ORDER_TYPE.sqlSQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 30 09:58:09 2010Copyright (c) 1982, 2005, Oracle. All rights reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, Real Application Clusters, Data Mining and Real Application Testing optionsSQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 SQL> 1 DECLARE23 nb number(10) := 0;45 BEGIN67 SELECT count(*)8 INTO nb9 FROM user_tables10 WHERE table_name = 'ALLOWED_ORDER_TYPE';1112 IF nb = 1 THEN13 EXECUTE IMMEDIATE 'DROP TABLE ALLOWED_ORDER_TYPE';14 END IF;1516* END;PL/SQL procedure successfully completed.SQL> SQL> 2 3 4 5 6Table created.SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, Real Application Clusters, Data Mining and Real Application Testing optionsdb_exec_sql /export/home/ml3/dev_unix/EPT/database/index/IC_ALLOWED_ORDER_TYPE.sqlSQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 30 09:58:09 2010Copyright (c) 1982, 2005, Oracle. All rights reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, Real Application Clusters, Data Mining and Real Application Testing optionsSQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 SQL> 1 DECLARE23 nb number(10) := 0;45 BEGIN67 SELECT count(*)8 INTO nb9 FROM user_indexes10 WHERE table_name = 'ALLOWED_ORDER_TYPE'11 AND index_name = 'IC_ALLOWED_ORDER_TYPE';1213 IF nb = 1 THEN14 EXECUTE IMMEDIATE 'DROP INDEX IC_ALLOWED_ORDER_TYPE';15 END IF;1617* END;PL/SQL procedure successfully completed.SQL> SQL> 2 3 4 5 6Index created.SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, Real Application Clusters, Data Mining and Real Application Testing optionsdb_table_header ALLOWED_ORDER_TYPE > /export/home/ml3/dev_unix/EPT/database/inc/T_ALLOWED_ORDER_TYPE.hdb_table_ctl ALLOWED_ORDER_TYPE > /export/home/ml3/dev_unix/EPT/database/ctl/ALLOWED_ORDER_TYPE.ctldb_exec_sql /export/home/ml3/dev_unix/EPT/database/table/T_BASKET_DEAL_SUBSCRIBE.sqlSQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 30 09:58:10 2010Copyright (c) 1982, 2005, Oracle. All rights reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, Real Application Clusters, Data Mining and Real Application Testing optionsSQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 SQL> 1 DECLARE23 nb number(10) := 0;45 BEGIN67 SELECT count(*)8 INTO nb9 FROM user_tables10 WHERE table_name = 'BASKET_DEAL_SUBSCRIBE';1112 IF nb = 1 THEN13 EXECUTE IMMEDIATE 'DROP TABLE BASKET_DEAL_SUBSCRIBE';14 END IF;1516* END;PL/SQL procedure successfully completed.SQL> SQL> 2 3 4 5Table created.SQL> SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, Real Application Clusters, Data Mining and Real Application Testing optionsdb_exec_sql /export/home/ml3/dev_unix/EPT/database/index/IC_BASKET_DEAL_SUBSCRIBE.sqlSQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 30 09:58:10 2010Copyright (c) 1982, 2005, Oracle. All rights reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, Real Application Clusters, Data Mining and Real Application Testing optionsSQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 SQL> 1 DECLARE23 nb number(10) := 0;45 BEGIN67 SELECT count(*)8 INTO nb9 FROM user_indexes10 WHERE table_name = 'BASKET_DEAL_SUBSCRIBE'11 AND index_name = 'IC_BASKET_DEAL_SUBSCRIBE';1213 IF nb = 1 THEN14 EXECUTE IMMEDIATE 'DROP INDEX IC_BASKET_DEAL_SUBSCRIBE';15 END IF;1617* END;PL/SQL procedure successfully completed.SQL> SQL> 2 3 4 5Index created.SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, Real Application Clusters, Data Mining and Real Application Testing optionsdb_table_header BASKET_DEAL_SUBSCRIBE > /export/home/ml3/dev_unix/EPT/database/inc/T_BASKET_DEAL_SUBSCRIBE.h>> Signal 11: while processing /export/home/ml3/dev_unix/EPT/src/orc/OrcTimerTask.cpp at line 0.make: *** [/export/home/ml3/dev_unix/EPT/lib/orc/OrcTimerTask.o] Error 2make: *** Waiting for unfinished jobs....db_table_ctl BASKET_DEAL_SUBSCRIBE > /export/home/ml3/dev_unix/EPT/database/ctl/BASKET_DEAL_SUBSCRIBE.ctl**** Error compiling EPT ****ml3@110110:/apps/export/home/ml3/dev_unix>

6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Do you have any build log file? please double check the error does come from icc or icpc.
We do not have any existing issues about "Signal 11".

Jennifer

Hi Jennifer,
Seems that it is related to the STL template, isn't it?
CC -mt -g -DDEV_SUN -KPIC -DP_USE_ORBIX -I/export/home/ml3/dev_unix -I/apps/oracle/product/10.2/db_1/precomp/public -I/apps/sslcpp4.5.4.E1.solaris/include -I/usr/local/ssl/include -I/apps/iona/asp/6.3/include -I/export/home/ml3/dev_unix/ORDER/src/force_v32 -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/obs -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/common -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/security -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/gsp -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/import_export -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/PolicyListParser -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/PoaUtility -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/portability -c /export/home/ml3/dev_unix/EPT/src/orc/OrcMaster9XXX.cpp -o /export/home/ml3/dev_unix/EPT/lib/orc/OrcMaster9XXX.o
>> Signal 11:
while processing /opt/solstudio12.2/prod/include/CC/Cstd/algorithm.cc at line 0.
make: *** [/export/home/ml3/dev_unix/EPT/lib/orc/OrcMaster9XXX.o] Error 2
**** Error compiling EPT ****
ml3@hkgss1101145:/apps/export/home/ml3/dev_unix>

I see. The other output text between the error and the icc command confused me.

We will need the preprocessed .i file for OrcMaster9XXX.cpp. If this is not open-source, it might be a good idea to submit an issue report to Intel Premier Support. That is a secure website.

Or you could upload the file with "private" post.

thanks,
Jennifer

It seems that it is referring to the#include Signal 11: while processing /opt/solstudio12.2/prod/include/CC/Cstd/algorithm.cc at line 0In the release mode, the compilation is okay, however in debug mode, it just stopped there.

Several other forum customers have nicely reminded me about your dev environment.

Are you using icc? You might be in a wrong forum. We have Intel C++ compiler for Linux, but notSun solaris.

Jennifer

Leave a Comment

Please sign in to add a comment. Not a member? Join today