hello-native.sh test fixlet
Mandy Chung
mandy.chung at oracle.com
Wed Jun 2 16:47:29 PDT 2010
Hi Dalibor,
This test fails on windows since it needs a different command to build
the dll. Do you mind fixing it too?
Mandy
On 06/02/10 15:34, Dalibor Topic wrote:
> Hi,
>
> 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?
>
> I tested the patch on Ubuntu 10.04 x86 as well.
>
> cheers,
> dalibor topic
>
More information about the jigsaw-dev
mailing list