[Bug 1300] Support for X32 ABI x86_64-linux-gnux32

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Feb 7 17:08:36 PST 2013


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1300

--- Comment #4 from gregnietsky at gmail.com ---
With the above patches and some bodgery with arg's passed to make it all
builds.

here are thee config/make options

./../configure --prefix=/usr --sysconfdir=/etc/ --mandir=/usr/share/man
--localstatedir=/var --infodir=/usr/share/info --libdir=/usr/libx32
--host=x86_64-linux-gnux32 --build=x86_64-linux-gnux32
--with-jdk-home=/usr/lib64/jvm/gcj-jdk
--with-ecj-jar=/usr/share/java/ecj-3.5.2.jar
--with-rhino=/usr/share/java/js.jar --with-gcj=/usr/bin/x86_64-linux-gnux32-gcj
--with-jdk-home=/usr/lib64/jvm/jdk-1.7.0_09 --enable-zero --disable-bootstrap

As can be seen i used the arm64 JDK already built i was not able to bootstrap
it from ecj not sure why the --with-gcj opts are redundant yes this is a cross
compile of sorts but "native" as all the libs are available and the kernel runs
32/64/x32 simultaneously.


make -j8 IT_LANGUAGE_SOURCE_VERSION=7 IT_CLASS_TARGET_VERSION=7 ARCH=ilp32
FREETYPE_LIB_PATH=/build/x86_32/usr/libx32 CXX=x86_64-linux-gnux32-g++

the FREETYPE_LIB_PATH could[/should ?] be set by the icedtea autotools perhaps.
as ilp32 is not the native arch [uname -m].
i pass it setting the source/target version was needed as it complained about
<> in the code and needing v7 this is fine as im bootstraping from a native
build [classpath/ecj].
the compiler is set as my x32 bits are in a sysroot passing   g++
--sysroot=....  or setting sysroot in cflags could do the trick too.

Hope this helps i realise not many folks are using this API we will be using
this new API hopefully for all systems <4g RAM and will replace the current
32bit distro.

It has been tested in the way we most likely to use it running a admin applet
via X forwarding / SSH (same tool available via web access).

all seems in order now to get shark JIT added as LLVM is available for this
arch and im not sure the other VM's will be ... 

Greg

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130208/04d9e889/attachment.html 


More information about the distro-pkg-dev mailing list