hello-native.sh test fixlet

mark.reinhold at oracle.com mark.reinhold at oracle.com
Wed Jun 2 16:27:44 PDT 2010


> Date: Thu, 03 Jun 2010 00:34:22 +0200
> From: dalibor.topic at sun.com

> in order to make that native test work on a 64 bit Ubuntu 8.10 system, I had to
> apply this patch:
> 
> diff -r 43e101bd28c2 test/org/openjdk/jigsaw/hello-native.sh
> --- a/test/org/openjdk/jigsaw/hello-native.sh	Sat May 29 21:19:10 2010 -0700
> +++ b/test/org/openjdk/jigsaw/hello-native.sh	Wed Jun 02 10:03:44 2010 -0700
> @@ -53,7 +53,7 @@ ___
>  ___
> 
>  (cd z.test/native/src;
> - cc -o ../lib/libworld.so -shared org_astro_World.c -static -lc)
> + cc -o ../lib/libworld.so -shared org_astro_World.c -fPIC)
> 
>  mkdir -p z.test/module-files
>  $BIN/jpkg -d z.test/module-files -m z.test/modules/com.greetings \
> 
> OK to push?

Maybe ...

> I tested the patch on Ubuntu 10.04 x86 as well.

Does it still work on Solaris?

- Mark



More information about the jigsaw-dev mailing list