Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192394 - gnustep-make-2.0.1 needs gcc-4.x because of the --enable-native-objc-exceptions configure param
Summary: gnustep-make-2.0.1 needs gcc-4.x because of the --enable-native-objc-exceptio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-13 08:21 UTC by Cedric Godin
Modified: 2009-01-28 13:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Godin 2007-09-13 08:21:00 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-13 08:24:32 UTC
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.
Comment 2 Bernard Cafarelli gentoo-dev 2009-01-28 13:07:17 UTC
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