build with bsd userland
Andrew Hughes
gnu.andrew at redhat.com
Thu Mar 20 15:32:52 UTC 2014
----- Original Message -----
> on bsd systems, gnu versions of utils are installed with g prefix, such
> as gsed instead of sed.
>
> this patch adds checking for such versions and uses them if found in
> path. With this patch it bootrap icedtea build system correctly on fbsd 10.
>
This looks sane. I'll get it applied to HEAD.
I should have said, following your e-mail the other day, that the repository
you were using was the right one to work on. Patches should initially be applied
to HEAD and then backported to branches as necessary. We don't want to end up in
a situation where patches are only on a release branch (effectively, a dead end).
> it still does not build openjdk out of box with patch, fails on:
>
> gmake[1]: Entering directory `/home/hsn/live/icedtea7/openjdk-boot'
> jdk/make/common/shared/Defs.gmk:194: "WARNING: Value of ARCH cannot be
> empty, will use ''"
> jdk/make/common/shared/Defs.gmk:194: "WARNING: Value of PLATFORM cannot
> be empty, will use ''"
> jdk/make/common/shared/Defs.gmk:397: jdk/make/common/shared/Defs-.gmk:
> No such file or directory
> jdk/make/common/shared/Defs.gmk:674:
> jdk/make/common/shared/Compiler-.gmk: No such file or directory
> gmake[1]: *** No rule to make target
> `jdk/make/common/shared/Compiler-.gmk'. Stop.
>
Ah, I think the problem here is there's only aix, linux, macosx, solaris and
windows in that directory. HotSpot, however, has BSD...
It seems some of the BSD port has been included upstream but not all. Let me
see if I can bring in an appropriate file from the BSD tree.
> I did not discovered where these variables are supposed to be set, after
> setting this manually to linux, it crosscompiles major portion of JDK.
>
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
More information about the distro-pkg-dev
mailing list