Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102366 - subarch: pentium-mmx should set CFLAGS="-O2 -march=pentium-mmx"
Summary: subarch: pentium-mmx should set CFLAGS="-O2 -march=pentium-mmx"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-08-13 06:56 UTC by Henrik Brix Andersen
Modified: 2005-12-20 09:14 UTC (History)
1 user (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 Henrik Brix Andersen 2005-08-13 06:56:42 UTC
The python class arch_pentium_mmx specified in /usr/lib/catalyst/arch/x86.py
currently only differs from i586 in USE=mmx. It doesn't add -mmmx to CFLAGS, nor
does it set -march=pentium-mmx.

I suggest setting CFLAGS="-O2 -march=pentium-mmx" for the pentium-mmx subarch.
Comment 1 Henrik Brix Andersen 2005-08-13 07:48:12 UTC
Support for -march=pentium-mmx (and -mmmx) was added in GCC 3.1.1 according to
http://gcc.gnu.org/gcc-3.1/changes.html
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-09-06 14:37:04 UTC
Added to catalyst 2 in CVS...
Comment 3 Henrik Brix Andersen 2005-09-06 14:42:11 UTC
Cool, thanks Chris.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-12-20 09:14:14 UTC
Since the catalyst 2.0_rc* series is no longer in package.mask, I am marking this one as RESOLVED...