JDK-1.5.0_11 compile error

Frank Ianella vze2gz6q at verizon.net
Wed Jul 18 19:03:14 PDT 2007


Hello,
I've tried several times to compile JDK from source via svn-20070718, but the build always fails with the following error. This is on LFS stable with Xorg 7.2. Any help would be appreciated! 

Compiling /opt/my-java/jdk-build/hotspot/src/share/vm/utilities/accessFlags.cpp
gcc -DLINUX -D_GNU_SOURCE -DIA32 -DPRODUCT -I../generated/adfiles -I../generated/jvmtifiles -I/opt/my-java/jdk-build/hotspot/src/share/vm/asm -I/opt/my-java/jdk-build/hotspot/src/share/vm/ci -I/opt/my-java/jdk-build/hotspot/src/share/vm/code -I/opt/my-java/jdk-build/hotspot/src/share/vm/compiler -I/opt/my-java/jdk-build/hotspot/src/share/vm/gc_implementation -I/opt/my-java/jdk-build/hotspot/src/share/vm/gc_implementation/parallelScavenge -I/opt/my-java/jdk-build/hotspot/src/share/vm/gc_implementation/shared -I/opt/my-java/jdk-build/hotspot/src/share/vm/gc_interface -I/opt/my-java/jdk-build/hotspot/src/share/vm/interpreter -I/opt/my-java/jdk-build/hotspot/src/share/vm/libadt -I/opt/my-java/jdk-build/hotspot/src/share/vm/memory -I/opt/my-java/jdk-build/hotspot/src/share/vm/oops -I/opt/my-java/jdk-build/hotspot/src/share/vm/opto -I/opt/my-java/jdk-build/hotspot/src/share/vm/prims -I/opt/my-java/jdk-build/hotspot/src/share/vm/runtime -I/opt/my-java/jdk-build/hotspot/src/share/vm/services -I/opt/my-java/jdk-build/hotspot/src/share/vm/utilities -I/opt/my-java/jdk-build/hotspot/src/cpu/i486/vm -I/opt/my-java/jdk-build/hotspot/src/os/linux/vm -I/opt/my-java/jdk-build/hotspot/src/os_cpu/linux_i486/vm -I../generated -DHOTSPOT_BUILD_VERSION="1.5.0-internal-update-10" -DCOMPILER2 -O3 -fno-strict-aliasing -DOPTO -DHOTSPOT_BUILD_USER=root -fPIC -Winline -fno-rtti -fno-exceptions -D_REENTRANT -pipe -fcheck-new -DVM_LITTLE_ENDIAN -march=i586 -w -ffriend-injection -c /opt/my-java/jdk-build/hotspot/src/share/vm/utilities/accessFlags.cpp
cc1plus: error: unrecognized command line option "-ffriend-injection"
make[3]: *** [accessFlags.o] Error 1
make[3]: Leaving directory `/opt/my-java/jdk-build/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[2]: *** [the_vm] Error 2
make[2]: Leaving directory `/opt/my-java/jdk-build/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[1]: *** [product] Error 2
make[1]: Leaving directory `/opt/my-java/jdk-build/control/build/linux-i586/hotspot-i586/tmp'
make: *** [product] Error 2

Frank Ianella



More information about the blfs-support mailing list