Bug 53864 - g++ internal compiler error: Illegal instruction at AIX.5.3
g++ internal compiler error: Illegal instruction at AIX.5.3
Status: UNCONFIRMED
Product: gcc
Classification: Unclassified
Component: middle-end
4.2.0
: P3 normal
: ---
Assigned To: Not yet assigned to anyone
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-05 11:39 UTC by cpap
Modified: 2012-07-06 05:55 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
the preprocessed file (175.26 KB, application/x-zip-compressed)
2012-07-05 11:44 UTC, cpap
Details

Note You need to log in before you can comment on or make changes to this bug.
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