hello-native.sh test fixlet

Dalibor Topic Dalibor.Topic at Sun.COM
Thu Jun 3 02:09:00 PDT 2010


Mandy Chung wrote:
> Hi Dalibor,
> 
> This test fails on windows since it needs a different command to build
> the dll.   Do you mind fixing it too?

OK, I will.

cheers,
dalibor topic

> 
> 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
>>   
> 


-- 
*******************************************************************
Dalibor Topic                   Tel: (+49 40) 23 646 738
Java F/OSS Ambassador           AIM: robiladonaim
Sun Microsystems GmbH           Mobile: (+49 177) 2664 192
Nagelsweg 55                    http://openjdk.java.net
D-20097 Hamburg                 mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Jürgen Kunz





More information about the jigsaw-dev mailing list