Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12515 - courier needs to compile without optomizations
Summary: courier needs to compile without optomizations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-21 06:16 UTC by Chris Carlin
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Chris Carlin 2002-12-21 06:16:02 UTC
I'd been having trouble with the courier-0.40.1 ebuild where, among other
things, maildrop would exit with strange errorcodes even though there was no
real error, screwing up the whole mail delivery process. I finally found a place
on the maildrop mailing lists where it was suggested that these false errors
were caused by compiler optimizations, specifically mentioning -fomit-frame-pointer.

After I rebuilt with only CFLAGS="-march=k6-2 -O3 -pipe" CXXFLAGS="${CFLAGS}",
taking off the -fomit-frame-pointer, everything is working fine. I suggest that
the ebuild needs to guard against this flag if possible.

If you need references to the specific posts on the mailing list I'll go track
them down...
Comment 1 Nick Hadaway 2002-12-21 13:30:59 UTC
I have added the flag filter to courier-0.40.1

Compiler optimization causes more trouble in more places.