zero build failure on icedtea7 trunk

Andrew John Hughes ahughes at redhat.com
Mon Jul 12 09:34:01 PDT 2010


On 12 July 2010 08:49, Matthias Klose <doko at ubuntu.com> wrote:
> current icedtea7 fails to build, patches/shark.patch is missing.

What is this patch? And why would it be need for zero?

 while
> trying to create a patch I noticed that the files in the build directory are
> hard linked to the ports directory. how is a patch supposed to work?

Why would you want to patch something in the source tree at runtime anyway?
I don't know who changed the logic in 6 (the ChangeLog shows no
record) or why but linking was how the original ports target was
written.

 fixing
> it directly works for me.
>
> diff -r 60b7879c73d7 ports/hotspot/src/cpu/zero/vm/shark_globals_zero.hpp
> --- a/ports/hotspot/src/cpu/zero/vm/shark_globals_zero.hpp
> +++ b/ports/hotspot/src/cpu/zero/vm/shark_globals_zero.hpp
> @@ -59,4 +59,5 @@
>  define_pd_global(uintx,    MaxPermSize,                  64*M );
>  define_pd_global(bool,     NeverActAsServerClassMachine, true );
>  define_pd_global(uintx,    DefaultMaxRAM,                1*G  );
> +define_pd_global(uint64_t, MaxRAM,                      1ULL*G);
>  define_pd_global(bool,     CICompileOSR,                 true );
>

I've committed this change.
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list