Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5039 - procmail-3.22-r2 hangs at "Benchmarking your system's strstr() implementation" w/ gcc3.1
Summary: procmail-3.22-r2 hangs at "Benchmarking your system's strstr() implementation...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-15 12:17 UTC by Grant Goodyear (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Goodyear (RETIRED) gentoo-dev 2002-07-15 12:17:52 UTC
Works fine on my 2.95 system w/ glibc 2.2.5-r5.  Hangs on 
my three tested gcc3.1 systems:

mine: glibc 2.2.5-r5, gcc-3.1-r7.
kabau: glibc-2.2.5-r4, gcc-3.1-r7
lostlogic: glibc-2.2.5-r5, gcc-3.1-r8
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-07-15 12:26:27 UTC
I checked the forums; they recommend dropping from -O3 to -O2.  Worked for me.

Kabua says that on his system procmail eventually emerged, but he had to wait
a few minutes at the strstr test.
Comment 2 Nick Hadaway 2002-07-16 09:17:38 UTC
Added a -O2 at the end of the CFLAGS sed statement.

This is important as flags are inherited inline... the last flag past will 
clobber the first flag... so the -O2 is placed after the ${CFLAGS} to override 
the -O3 in most of the gentoo default flags.

This shouldn't cause any trouble as I don't think there are any architectures 
that use anything less than a -O2...

-Nick