Linux PPC build failures
Steve Poole
spoole at linux.vnet.ibm.com
Wed Nov 21 06:02:46 PST 2012
mine is as follows. Whats the guess its due to having a more modern version of gcc :-)
Using built-in specs.
Target: ppc64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --enable-secureplt --with-long-double-128 --with-cpu-32=power4 --with-tune-32=power6 --with-cpu-64=power4 --with-tune-64=power6 --build=ppc64-redhat-linux
Thread model: posix
gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
On 21 Nov 2012, at 13:20, "Lindenmaier, Goetz" <goetz.lindenmaier at sap.com> wrote:
> Hi Steve,
>
> I just checked. I don't get an error.
>
> Usually I build without precompiled headers, but it also works with them.
>
> This is my g++
>
> oJ/commit-hotspot> g++ -v
> Using built-in specs.
> Target: powerpc64-suse-linux
> Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix= --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=default32 --enable-secureplt --with-long-double-128 --host=powerpc64-suse-linux
> Thread model: posix
> gcc version 4.1.2 20070115 (SUSE Linux)
>
> My command line for the precompiled header file differs in two flags:
> I've got
> -Wconversion
> Set, you have set
> -fvisibility=hidden
>
> But I don't think that's the problem.
>
> I also tried 4.1.0, that works, too.
>
> What is your g++?
>
> Cheers,
> Goetz
>
>
> -----Original Message-----
> From: ppc-aix-port-dev-bounces at openjdk.java.net [mailto:ppc-aix-port-dev-bounces at openjdk.java.net] On Behalf Of Steve Poole
> Sent: Mittwoch, 21. November 2012 13:36
> To: ppc-aix-port-dev at openjdk.java.net
> Subject: Linux PPC build failures
>
>
> 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