Linux PPC build failures
Steve Poole
spoole at linux.vnet.ibm.com
Wed Nov 21 04:35:47 PST 2012
hi guys - just done a complete fresh clone and build of linux ppc 7 on REL6.
I initially hit a problem with the stack size for javac building corba which I fixed.
/home/spoole/boot/jdk1.7.0-ppc-aix-port-b01/bin/javac -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-Xmx512m -J-Xms512m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6 -target 6 -d /home/spoole/repos/aix-ppc/jdk7u/build/linux-ppc64/../linux-ppc64-debug/corba/btclasses \
-sourcepath ../../tools/src ../../tools/src/build/tools/stripproperties/StripProperties.java
The stack size specified is too small, Specify at least 1856k
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Now I've hit another problem
g++ -DLINUX -D_GNU_SOURCE -DPPC64 -DASSERT -DDEBUG -I. -I/home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/prims -I/home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm -I/home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/precompiled -I/home/spoole/repos/aix-ppc/jdk7u/hotspot/src/cpu/ppc/vm -I/home/spoole/repos/aix-ppc/jdk7u/hotspot/src/os_cpu/linux_ppc/vm -I/home/spoole/repos/aix-ppc/jdk7u/hotspot/src/os/linux/vm -I/home/spoole/repos/aix-ppc/jdk7u/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"23.2-b04\"" -DHOTSPOT_BUILD_TARGET="\"jvmg\"" -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_LIB_ARCH=\"ppc64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_ppc -DTARGET_ARCH_MODEL_ppc_64 -DTARGET_OS_ARCH_linux_ppc -DTARGET_OS_ARCH_MODEL_linux_ppc_64 -DTARGET_COMPILER_gcc -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -DCC_INTERP -pipe -g -m64 -D_LP64=1 -mminimal-toc -mcpu=powerpc64 -mtune=power5 -minsert-sched-nops=regroup_exact -mno-multiple -mno-string -DSAFEFETCH_STUBS -DINCLUDE_TRACE -Werror -Wpointer-arith -Wsign-compare -c -fpch-deps -MMD -MP -MF ../generated/dependencies/precompiled.hpp.gch.d -x c++-header /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/precompiled/precompiled.hpp -o precompiled.hpp.gch
cc1plus: warnings being treated as errors
In file included from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/runtime/frame.hpp:500,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/prims/jvmtiExport.hpp:33,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/runtime/thread.hpp:32,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/os/linux/vm/thread_linux.inline.hpp:30,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/memory/resourceArea.hpp:30,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/classfile/classFileParser.hpp:29,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/classfile/classLoader.hpp:28,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/classfile/systemDictionary.hpp:29,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/ci/ciEnv.hpp:30,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/ci/ciUtilities.hpp:28,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/ci/ciNullObject.hpp:30,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/ci/ciConstant.hpp:29,
from /home/spoole/repos/aix-ppc/jdk7u/hotspot/src/share/vm/precompiled/precompiled.hpp:36:
/home/spoole/repos/aix-ppc/jdk7u/hotspot/src/cpu/ppc/vm/frame_ppc.hpp:96: error: 'typedef' was ignored in this declaration
make[7]: *** [precompiled.hpp.gch] Error 1
Are these problems you've seen too? I don't want to go digging if you already know about them :-)
More information about the ppc-aix-port-dev
mailing list