ghostscript will cause GCC 3.4 to implode, if greater than -O2 is used. Reproducible: Always Steps to Reproduce: 1. try and build ghostscript with gcc 3.4 and -O3 or additional optimizing. 2. 3. Actual Results: GCC implodes. Expected Results: success. Add this to ebuild: # We need to strip all flags and set to -O2 for gcc 3.4 if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ] then strip-flags export CFLAGS="${CFLAGS//-O?} -O2" export CXXFLAGS="${CFLAGS}" fi
Created attachment 29657 [details] ghostscript ebuild with the fix already added. Tested with GCC 3.3.3 and GCC 3.4, builds ghostscript fine.
i didnt use your patch, but edited the ebuild in a similar way. the fix is in CVS, give it a bit to reach rsync.