Bug 12843 - rpm-4.0-0.33: optflags for ix86 wrong
Summary: rpm-4.0-0.33: optflags for ix86 wrong
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 1.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-06-23 09:12 UTC by Moritz Barsnick
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-06-23 09:13:00 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Moritz Barsnick 2000-06-23 09:12:59 UTC
In rpm-4.0-0.33, but also the current (2000-06-23) CVS, the optflags for
i486 have been set wrongly (and probably illegaly, i.e. nothing should
compile):

optflags: i486 -O2 -march=1486
                          ^

Furthermode, a deprecated form is used:

optflags: i386 -O2 -m486 -fno-strength-reduce
                   ^^^^^

info gcc (2.95.2) says:
--quote--
`-m386'
`-m486'
`-mpentium'
`-mpentiumpro'
     Synonyms for -mcpu=i386, -mcpu=i486, -mcpu=pentium, and
     -mcpu=pentiumpro respectively.  These synonyms are deprecated.
--endquote--

Perhaps you want to be using:

optflags: i386 -O2 -mcpu=i486 -fno-strength-reduce
(perhaps with -march=i386)

Comment 1 Jeff Johnson 2000-06-23 14:21:44 UTC
Apologies for my tired and aging eyes. Fixed in rpm-4.0-0.45, thanks for the
report.


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