Bug 63882 - wrong optflags in textutils.spec?
Summary: wrong optflags in textutils.spec?
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: textutils   
(Show other bugs)
Version: 7.2
Hardware: All Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2002-04-20 04:30 UTC by kehcheng
Modified: 2007-04-18 16:42 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-10-08 14:16:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description kehcheng 2002-04-20 04:30:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 

Description of problem:
The line "%define optflags -g" in textutils.spec causes all programs in the 
package to be built without any optimization.  On a 1.7 GHz Xeon workstation 
with 2 GB of memory, checking the MD5 sum of a 600 MB iso image takes 29 
seconds using /usr/bin/md5sum.  The same operation takes less than 5 seconds 
using a private copy of md5sum recompiled with the optflags line removed.

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

How reproducible:

Steps to Reproduce:
1.time /usr/bin/md5sum xxx.iso
2.recompile md5sum with some level of optimization
3.time ./md5sum xxx.iso

Actual Results:  Recompiled md5sum runs much faster than /usr/bin/md5sum.
The same is true with other programs in textutils.

Expected Results:  Programs in /usr/bin should have decent, if not optimal, 

Additional info:

Comment 1 Bernhard Rosenkraenzer 2002-06-27 12:33:32 UTC
This was necessary at some point because of compiler problems, but since they 
have been fixed since, I agree it should be removed. Done in 2.0.21-4. 

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