Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12051 - maildrop: runtime error when using gcc optimisation
Summary: maildrop: runtime error when using gcc optimisation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-12 16:39 UTC by Jukka Salmi
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 Jukka Salmi 2002-12-12 16:39:00 UTC
maildrop doesn't like being compiled without frame pointers (see
http://sourceforge.net/mailarchive/forum.php?thread_id=1403942&forum_id=2347 ff.).

additionally, when erasing certain compiler options from $CFLAGS and $CXXFLAGS,
i'd recommend replacing ALL occurencies of those options: ${FOO//bar/} instead
of ${FOO/bar/}. for maildrop-xyz.ebuild that is:

export CFLAGS="${CFLAGS//-funroll-loops/}"
export CFLAGS="${CFLAGS//-fomit-frame-pointer/}"
export CXXFLAGS="${CXXFLAGS//-funroll-loops/}"
export CXXFLAGS="${CXXFLAGS//-fomit-frame-pointer/}"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-12-12 22:56:48 UTC
or use the filter-flags eclass -- much cleaner
Comment 2 Nick Hadaway 2002-12-21 16:20:21 UTC
I have updated all maildrop ebuilds to filter out -fomit-frame-pointer and -
funroll-loops