harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [build] Build failed on PPC Aix 6.1 for Harmony java 6 branch
Date Wed, 07 Jan 2009 09:29:49 GMT

It has been a while since I've done this but classlib trunk(!) should build
on Aix.  You'll need to create:

  modules/luni/src/main/native/luni/unix/aix/OSResourcesMonitor.c

(I might have something I can check in - I'll check shortly.)  But quite
a lot wont work because:

1) There is no public VM for Aix

2) AWT for example has windows and linux hardcoded in some of the java  
code and this needs to be changed to windows and unix in most cases.

I've no idea about the java6 branch but I'm guessing there are some
incompatible changes that need porting.

I will do some more testing of the current status.

Regards,
-Mark.

In message <efe92bae0901070036n2e93d29ch40ff15bbb54e6e8f@mail.gmail.com>,
"Deven You" writes:
> 
> Hi,
> I am trying to build java 6 branch on ppc aix 6.1, the svn url is
> https://svn.apache.org/repos/asf/harmony/enhanced/classlib/branches/java6.
> after a while I entered "ant -Dhy.no.thr=true" command, I got a error
> message as below:
> 
> build-native:
> 
> -build-native-secondary:
>      [echo] Making "" in /deven/java6/modules/luni/src/main/native/luni/unix
>      [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst=""
> -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR
> -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I.
> -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc
> -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE
> -D_LARGE_FILES -qsuppress=1500-010 -g     -c -o ../shared/luni_copyright.o
> ../shared/luni_copyright.c
>      [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst=""
> -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR
> -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I.
> -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc
> -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE
> -D_LARGE_FILES -qsuppress=1500-010 -g     -c -o ../shared/file.o
> ../shared/file.c
>      [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst=""
> -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR
> -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I.
> -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc
> -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE
> -D_LARGE_FILES -qsuppress=1500-010 -g     -c -o procimpl.o procimpl.c
>      [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst=""
> -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR
> -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I.
> -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc
> -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE
> -D_LARGE_FILES -qsuppress=1500-010 -g     -c -o ../shared/nethelp.o
> ../shared/nethelp.c
>      [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst=""
> -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR
> -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I.
> -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc
> -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE
> -D_LARGE_FILES -qsuppress=1500-010 -g     -c -o ../shared/floatbits.o
> ../shared/floatbits.c
>      [exec] cc -DAIX -DAIX_PPC32 -DHYPPC32 -D_Xconst=""
> -DIPv6_FUNCTION_SUPPORT -D_REENTRANT -DHY_NO_THR
> -I/deven/java6/deploy/include -I/deven/java6/deploy/jdk/include -I.
> -I../shared/ -fpic -qcpluscmt -O3 -s -q mbcs -qlanglvl=extended -qarch=ppc
> -qinfo=pro -qalias=noansi -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE
> -D_LARGE_FILES -qsuppress=1500-010 -g     -c -o helpers.o helpers.c
>      [exec] "helpers.c", line 45.10: 1506-296 (S) #include file *
> <asm/types.h>* not found.
>      [exec] "helpers.c", line 46.10: 1506-296 (S) #include file *
> <linux/netlink.h>* not found.
>      [exec] "helpers.c", line 47.10: 1506-296 (S) #include file *
> <linux/rtnetlink.h>* not found.
> 
> Obviously, our luni native code use some linux header files, but the build
> on aix environment. I wonder if anyone ever build on aix and had the same
> issue. If you have the solution, please help me to solve this issue.
> 
> Best Regards,
> 
> Deven
> 
> ------=_Part_217098_32975214.1231317409140--
> 



Mime
View raw message