Description of problem: gcc has an internal compiler error when compiling Globus Toolkit 4.0.1 Version-Release number of selected component (if applicable): gcc version 4.1.0 20060304 (Red Hat 4.1.0-3) How reproducible: every time so far Steps to Reproduce: 1. Download Globus Toolkit from http://www-unix.globus.org/toolkit/survey/index.php?download=gt4.0.1-all-source-installer.tar.bz2 MD5: 398076812364f53d694194320836b8ad 2. Unpack 3. make Actual results: /usr/bin/gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"globus_js\" -DVERSION=\"0.3\" -I. -I/home/globus/gt4.0.1-all-source-installer/source-trees/wsrf/c/tools/js/source -I/home/globus/globus-4.0.1/include -I/home/globus/globus-4.0.1/include/gcc32dbg -g -Wall -DXP_UNIX -c jscpucfg.c jscpucfg.c:376: internal compiler error: in dwarf2out_finish, at dwarf2out.c:14116 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/ccPaj4XD.out file, please attach this to your bugreport. Expected results: Successful make Additional info: Version of Sun Java used: 1.5.0_06 ccPaj4XD.out is attached
Created attachment 127752 [details] preprocessed source
Oops. I forgot some steps in "Steps to Reproduce": 2.5. export JAVA_HOME=/usr/java/jdk1.5.0_06/ 2.6. ./configure --prefix=/home/globus/globus-4.0.1
This is already tracked upstream. As a workaround, compile with optimizations or don't compile with -g.