when trying to emerge gnustep-make-2.0.1, we faced a problem with gcc-3.4.6 3.4.6 : NOK cedric@honey /tmp/gnustep-make-2.0.1 $ gcc-3.4.6 -x objective-c -I. -fgnu-runtime -fexceptions -fobjc-exceptions -Wl,-z,now conftest.m -lobjc -lpthread -shared-libgcc -fexceptions conftest.m: In function `main': conftest.m:8: error: storage size of '_stackExceptionData' isn't known conftest.m:8: confused by earlier errors, bailing out 4.1.2 : OK cedric@honey /tmp/gnustep-make-2.0.1 $ gcc-4.1.2 -x objective-c -I. -fgnu-runtime -fexceptions -fobjc-exceptions -Wl,-z,now conftest.m -lobjc -lpthread -shared-libgcc -fexceptions cedric@honey /tmp/gnustep-make-2.0.1 $ the contest.m is the one in the configure script. There is nothing in the ebuild and eclass that asks for >gcc-3.4.6 Reproducible: Always Steps to Reproduce: 1. gcc-config i686-pc-linux-gnu-3.4.6 2. emerge gnustep-base/gnustep-make
This kind of dependency doesn't work at all. Having gcc-4.x installed doesn't mean you are actually using it. See http://www.gentoo.org/doc/en/gcc-upgrading.xml hardened folks, if you want to mask this on your profiles, all yours.
To fix bug #255630, I've added a USE flag for native exceptions in gnustep-make, which solves the problem here too in the same commit :) Don't enable "native-exceptions" if your compiler does not support them