Bug 305221 - broken optflags by default
Summary: broken optflags by default
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 315551 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-25 14:50 UTC by Bill Nottingham
Modified: 2014-03-17 03:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-03 11:18:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
-mtune, not --mtune (824 bytes, patch)
2007-09-25 14:50 UTC, Bill Nottingham
no flags Details | Diff

Description Bill Nottingham 2007-09-25 14:50:43 UTC
Description of problem:

If you don't have redhat-rpm-config installed, the compiler is rather broken, as
RPM is passing it bogus options.

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

rpm-4.4.2.2-0.5.rc2

Patch attached

Additional info:

The error message produced by gcc is:

cc1: error: unrecognized command line option "-fmtune=generic".

Apparently it's commenting on my radio.

Comment 1 Bill Nottingham 2007-09-25 14:50:43 UTC
Created attachment 205551 [details]
-mtune, not --mtune

Comment 2 Panu Matilainen 2007-09-25 18:57:17 UTC
Doh :) Thanks for spotting, fixed upstream now and will be fixed in 4.4.2.2
final due out real soon now.

Comment 3 Panu Matilainen 2007-10-03 05:28:19 UTC
*** Bug 315551 has been marked as a duplicate of this bug. ***

Comment 4 Panu Matilainen 2007-10-03 11:18:34 UTC
In rawhide now, but only available in builders ATM due to the F8-test3 freeze.


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