[Bug 2863] New: IcedTea doesn't pass through build and host triplets to OpenJDK's configure
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Sun Feb 28 14:04:23 UTC 2016
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2863
Bug ID: 2863
Summary: IcedTea doesn't pass through build and host triplets
to OpenJDK's configure
Product: IcedTea
Version: 8-hg
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea
Assignee: gnu.andrew at redhat.com
Reporter: chewi at gentoo.org
CC: unassigned at icedtea.classpath.org
Created attachment 1508
--> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1508&action=edit
Patch against Makefile.am
This resulted in the following when trying to build with a 32-bit userspace on
a 64-bit kernel.
checking size of int *... 4
configure: The tested number of bits in the target (32) differs from the number
of bits expected to be found in the target (64).
configure: I'll retry after setting the platforms compiler target bits flag to
-m64
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu was passed to IcedTea but
OpenJDK used guessed values of x86_64-unknown-linux-gnu IIRC.
Attached is a patch that passes these arguments through. OpenJDK recommends
using --openjdk-target instead but you cannot use this in conjunction with
--build. Given that it is primarily distributions that build IcedTea from
source, I think it is reasonable to assume they will always give sensible
build/host values. If they give none at all, the values guessed by IcedTea's
configure will simply match those that OpenJDK's configure would have used
anyway.
--
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/20160228/8be4363e/attachment.html>
More information about the distro-pkg-dev
mailing list