Fix zero build on arm

Erik Joelsson erik.joelsson at oracle.com
Wed Apr 17 07:31:41 UTC 2013



On 2013-04-17 04:05, Omair Majid wrote:
> Hi,
>
> The following webrev makes zero build succesfully on arm:
> http://cr.openjdk.java.net/~omajid/webrevs/zero-on-arm/00/
>
> The only problem I ran into while trying to build zero on armv7l is that
> the gcc there does not like -m32. The changes make the build system
> check whether the compiler supports the -m32/-m64 flag before using it.
>
> Any thoughts or comments?
>
In jdk/makefiles/GensrcX11Wrappers.gmk
Line 91: seems to be missing a dash before the m.

./common/autoconf/platform.m4
Line 422: Misspelled comment
Line 437 and 440, could be simplified and moved to before the if.
Line 436: don't you need a "test" after the if? At least that's the form 
we have used in the configure script.

/Erik




More information about the build-dev mailing list