Bug 305221

Summary: broken optflags by default
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: aph, pnasrat, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-03 11:18:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
-mtune, not --mtune none

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.