Bug 12843 - rpm-4.0-0.33: optflags for ix86 wrong
rpm-4.0-0.33: optflags for ix86 wrong
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
1.0
All Linux
low Severity low
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-06-23 05:12 EDT by Moritz Barsnick
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

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


Attachments (Terms of Use)

  None (edit)
Description Moritz Barsnick 2000-06-23 05:12:59 EDT
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 10:21:44 EDT
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.