Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 158863 - Line removing -fno-rtti and -fno-exceptions in gcc4.spec has no effect
Summary: Line removing -fno-rtti and -fno-exceptions in gcc4.spec has no effect
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-05-26 12:24 UTC by Robin Green
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-05-26 12:52:19 UTC

Attachments (Terms of Use)

Description Robin Green 2005-05-26 12:24:17 UTC
Description of problem:
The following line in gcc4.spec has no effect:

OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g'`

because it is immediately followed by this line:

OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`

which throws away the old value of $OPT_FLAGS. The line should be removed (if
unneeded) or corrected (if needed).

Version-Release number of selected component (if applicable):

Comment 1 Jakub Jelinek 2005-05-26 12:52:19 UTC
The first line is not needed, I have removed it from CVS so that it doesn't
confuse.  Will show up in the next build, but as it is actually not any bug,
might not make into FC4 release.

Note You need to log in before you can comment on or make changes to this bug.