Quantcast

[patch] check for the `free' utility

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[patch] check for the `free' utility

Matthias Klose-6
openjdk uses the `free' utility to set the -Xmx parameter; if `free' cannot be
found, a minimum value of 384MB is assumed, which apparently is too small for
amd64 and results in miscompilation (which I see in crashes in swing
applications and the webplugin).

 - please apply the patch for icedtea.

 - please document the use of `free' in openjdk, document the need of
   the `procps' package as a build dependency for building openjdk on
   Debian/Ubuntu.

Matthias


2007-10-15  Matthias Klose  <[hidden email]>

        * configure.ac: Check for free.
        * configure: Regenerate.

--- configure.ac~ 2007-10-07 16:58:43.489691000 +0200
+++ configure.ac 2007-10-15 23:06:48.896380228 +0200
@@ -18,6 +18,7 @@
 dnl OpenJDK's README-builds.html lists gawk as a build dependency so we
 dnl check for it explicitly rather than using AC_PROG_AWK.
 FIND_TOOL([GAWK], [gawk])
+FIND_TOOL([FREE], [free])
 
 AC_ARG_WITH([icedtea-home],
             [AS_HELP_STRING([--with-icedtea-home],
Loading...