Summary: | sun-j2sdk-1.4.2 build properly with -O2 -march=athlon-xp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Wojtczuk <fastviper> |
Component: | New packages | Assignee: | Java team <java> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to build JVM with -O2 -march=athlon-xp |
Description
Marcin Wojtczuk
2004-04-02 08:09:58 UTC
Created attachment 28580 [details, diff]
Patch to build JVM with -O2 -march=athlon-xp
I've tested this patch, also tested JVM build with it. Simply works (for me).
Please consider writting some kind of script to allow at least -march setting
for this ebuild. The most interesting option would be -Os of course ;-)
Why not do it with sed: cp hotspot/build/linux/makefiles/gcc.make hotspot/build/linux/makefiles/gcc.make.orig sed "s#-O3#$CFLAGS#" hotspot/build/linux/makefiles/gcc.make.orig > hotspot/build/linux/makefiles/gcc.make The package is very fragile as it is. |