Hide Forgot
Description of problem: - Failed to compile C++ codes using g++ - Flags for g++: -fopenmp Version-Release number of selected component (if applicable): - Linux version 2.6.18-194.el5 (mockbuild.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Mar 16 21:52:39 EDT 2010 How reproducible: - It happens when compiling. Steps to Reproduce: 1. 2. 3. Actual results: [Error message] ... g++ -fopenmp -D_OMP_TFmp -I/_path_deleted_/TF_iml_solver -I/_path_deleted_/TF_iml_solver/iml++ -c MaterialBal.cpp MaterialBal.cpp: In member function ‘void CMaterialBal::massInEachPhase()’: MaterialBal.cpp:701: internal compiler error: in create_tmp_var, at gimplify.c:485 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccbKZGfq.out file, please attach this to your bugreport. make[1]: *** [MaterialBal.o] Error 1 make[1]: Leaving directory `/_deleted_/tfmp_Lx_on' make: *** [tfmp64gnu] Error 2 Expected results: Additional info: [Other tests] 1. Intel compiler: Good using "icpc -openmp .... " 2. g++ with debugging option without OpenMP: Good using "g++ -g ...." If you need source codes, plz let me know. Thanks.
Please first try yum install gcc44-c++ g++44 -fopenmp ... If that works, you can either use that (gcc 4.4.x is supported in RHEL 5.6+), or you'd need to provide that /tmp/ccbKZGfq.out gcc asked you to submit.
Bug is nearly 2 years old with no additional data provided by the reporter despite Jakub's request in c#1.