Bug 53864

Summary: g++ internal compiler error: Illegal instruction at AIX.5.3
Product: gcc Reporter: cpap <cpapaluk>
Component: middle-endAssignee: Not yet assigned to anyone <unassigned>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: P3    
Version: 4.2.0   
Target Milestone: ---   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed:
Attachments: the preprocessed file

Description cpap 2012-07-05 11:39:34 UTC
I will try to compile a cpp file in AIX 5.3 with gcc/g++ 4.2.0 and the following error occurs

cgi_api.cpp:568: internal compiler error: Illegal instruction


GNU C++ version 4.2.0 (powerpc-ibm-aix5.3.0.0)
        compiled by GNU C version 4.2.0.



/usr/bin/g++  -o CMakeFiles/cppcms.dir/src/cgi_api.cpp.o -c /f1/users/cpap/Diafora_g/CppCMS/cppcms-1.0.1/src/cgi_api.cpp -I/f1/users/cpap/Diafora_g/CppCMS/cppcms-1.0.1/booster -I/f1/users/cpap/Diafora_g/CppCMS/cppcms-1.0.1/src -I/f1/users/cpap/Diafora_g/CppCMS/cppcms-1.0.1/private -I/f1/users/cpap/Diafora_g/CppCMS/cppcms-1.0.1/cppcms_boost -I/f1/users/cpap/Diafora_g/CppCMS/cppcms-1.0.1/build -I/f1/users/cpap/Diafora_g/CppCMS/cppcms-1.0.1/build/booster -I/f1/users/cpap/Diafora_g/CppCMS/cppcms-1.0.1 -fno-strict-aliasing -fwrapv -save-temps -v
Comment 1 cpap 2012-07-05 11:44:50 UTC
Created attachment 27745 [details]
the preprocessed file
Comment 2 Andrew Pinski 2012-07-05 21:15:00 UTC
Have you tried a newer GCC? Since 4.2.0 is no longer supported.
Comment 3 cpap 2012-07-06 05:55:46 UTC
(In reply to comment #2)
> Have you tried a newer GCC? Since 4.2.0 is no longer supported.

No. Should I go to newer version of gcc/g++ or an older one? 
Can you please suggest me a couple of official site that I could download 
rpm for AIX?

Is there any other compiler option that could provide more information? 

Thank you