- Shuffle the various cpuflags.<OS> to group more common lines
- Use nawk on solaris [Jonathan A. Kollasch PR pkg/26572]
- Add Linux 'Intel(R) Pentium(R) 4 CPU'
- Add NetBSD/i386 'AMD Athlon Model 4 (Thunderbird)' [Rob Quinn]
- Add NetBSD/macppc 604e [John Klos]
- Add NetBSD/chocolate [Al]
- all:
Implement 'cpuflags -v' which indicates the values used to determine flags
Sync the latest fixup options for older gccs
- cpuflags.NetBSD:
Use -march=pentium3m and -march=pentium4m for gcc 3.4.x
Set -mcpu=hypersparc for RT620/625 and -mcpu=cypress for L64811
- cpuflags.Linux:
Handle two different Celeron cases (thanks to Marc Recht & Jeremy C. Reed)
NetBSD/Linux:
athlon-4, athlon-mp, athlon-tbird, and athlon-xp should fall back to
athlon in gcc3, and only pentiumpro in 2.95
Linux:
Identify "AMD Athlon(tm) XP "* - thanks to Sebastian Prause
Use -dumpversion with gcc rather than mangling -v output. Suggested
by mrg. Located copy of egcs to confirm output still correctly
mangled in that case :)
- Do nothing on x86_64 (for now). Thanks to Wolfgang S. Rupprecht
- Digital AlphaPC 164SX. Thanks to HATANO Hiromichi.
- Intel Pentium/MMX & Unrecognised Athlon XP. Thanks to Kimmo Suominen
- Mips update for gcc 3.1 and later. Thanks to Andreas Yankopolus
- Handle converting flags for old gcc versions recursively. Most
excessive case would be using cpuflags on a k6-3 win gcc 2.89 which
would map -march=k6-3 -> -march=k6 -> -march=pentium -> -march=i486
"Athlon MP" nor a "Pentium Pro". Correct this by testing for the special
cases first rather than trying to be clever in the generic test.
Bump package version to 0.58
Add optimisations for specific Athlon models (recht@)
Avoid setting flags if DBG is set to -Os (to reduce size impact
when building contents of distrib on at least 1.6.x i386)
- If !defined BSD_PKG_MK and DBG is set to -Os, do not alter COPTS.
This stops setting of -march=XXX causing overflowing of install media
- disable -fomit-frame-pointer for lua and koffice
Handle hw.model frmatting from hp300
On gcc3 -frename-registers still causes problems for xdm with _some_
-march=XXX values. Next time I might just listen to fredb first...
Add mozilla and pango to the list of packages for which
-frename-registers triggers bug in the binutils shipped with 1.6.x
(Thanks to Frederick Bruckman for identifying the issue)
Treat AMD Duron as Athlon
Replace PKG_EXCLUDE_O3 with PKG_EXCLUDE_RENAME_REGISTERS as its
specifically the -frename-registers that causes problems. Set for ORBit
- Detect fpuless mac68k boxes and add -msoft-float
- Check ${USETOOLS} to avoid setting gcc3 flags when compiling NetBSD
userland with built in tools, but with gcc3 installed
- Default to -O3 again for all except perl5 and perl58 under gcc3
Convert -march=athlon for older gccs to -march=pentiumpro.
Addresses PR pkg/21766 by Marc Recht.
XXX: the conversion mechanism is suboptimal, it can't handle recursive
conversions.
- Add some additional x86 flags for gcc 3.x
- Allow the path to cc to be specified as an argument to cpuflags
- Use both the previous to handle the gcc3 package
- Add an 'unsupported' optimize_gcc.mk which... to quote its comments:
"This file is 'experimental' - which is doublespeak for unspeakably
ugly, and probably quite broken by design.
The intention is to pass additional flags to gcc to further optimise
generated code. It _will_ make it impossible to debug, may fail to
compile some code, and even generate curdled binaries. It is completely
unsupported. Any questions should be directed to <abs@netbsd.org>.