Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10818 - [pacman/gcc] Use -march=native in makepkg.conf

Attached to Project: Arch Linux
Opened by Julius Bullinger (kwurzel) - Thursday, 03 July 2008, 20:08 GMT
Last edited by Jan de Groot (JGC) - Thursday, 03 July 2008, 21:16 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
GCC 4.2 introduces a new -march option, -march=native, which automatically detects the features the CPU supports and sets the options appropriately. Since current GCC in Arch is 4.3.1, makepkg.conf may ship with

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS=${CFLAGS}

as default.

Additional info:
* A note about not using -march=native AND distcc should be added
* http://gentoo-wiki.com/Safe_Cflags
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 03 July 2008, 21:16 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Won't implement. We don't want to build native packages for a distribution that is supposed to be i686 or x86_64 generic.

Loading...