hg: build-infra/jdk8/hotspot: Hotspot uses the names i386, i486, i586 and i686 in
David Holmes
david.holmes at oracle.com
Sun Mar 25 22:37:29 PDT 2012
On 24/03/2012 1:31 AM, fredrik.ohrstrom at oracle.com wrote:
> Changeset: e78b8a52fe13
> Author: ohrstrom
> Date: 2012-03-23 16:33 +0100
> URL: http://hg.openjdk.java.net/build-infra/jdk8/hotspot/rev/e78b8a52fe13
>
> Hotspot uses the names i386,i486,i586 and i686 in
> all sorts of places! Arggg, time for some serious clenup.
>
> ! make/linux/makefiles/defs.make
Hmmmm. AFAIK the way it works now on linux is that if "uname -m" gives
i?86 then ARCH is set to i686. Allowing an incoming ARCH==i586 would
seem to be complicating things.
But yes it is quite insane now. For 32-bit x86 we have:
LIBARCH=i386 (used for: jre/lib/i386)
BUILDARCH=i486 (used eg for:
<outputdir>/hotspot/outputdir/Linux_i486_compiler1)
PLATFORM=<os>_i586 (used for runtime images and bundles)
ARCH=i686
And
SRCARCH=x86
and in fact it is even more complex as solaris, linux and windows differ
in the variables they use.
Don't know how this came about ... it's not like we use UltraI, UltraII,
UltraIII etc for sparc. Probably something legacy from the original
Windows RI.
David
-----
More information about the build-infra-dev
mailing list