compile fails generating precompiled.hpp.gch

Stephen Bannasch stephen.bannasch at deanbrook.org
Mon Jan 24 20:31:29 PST 2011


I don't think this is related to the elf issue but for me compilation now breaks here:

echo Generating precompiled header precompiled.hpp.gch
Generating precompiled header precompiled.hpp.gch
mkdir -p .
g++-4.0 -D_ALLBSD_SOURCE -D_GNU_SOURCE -DIA32 -DPRODUCT -I. -I/Users/stephen/dev/java/src/macosx-port/hotspot/src/share/vm 
-I/Users/stephen/dev/java/src/macosx-port/hotspot/src/share/vm/prims 
-I/Users/stephen/dev/java/src/macosx-port/hotspot/src/cpu/x86/vm 
-I/Users/stephen/dev/java/src/macosx-port/hotspot/src/os/bsd/vm 
-I/Users/stephen/dev/java/src/macosx-port/hotspot/src/os_cpu/bsd_x86/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"20.0-b06\"" 
-DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"stephen\"" -DHOTSPOT_LIB_ARCH=\"i386\" 
-DJRE_RELEASE_VERSION="\"1.7.0-internal-stephen_2011_01_24_23_12-b00\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" 
-DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_32 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_32 
-DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -pthread -fcheck-new -m32 -march=i586 
-mstackrealign -pipe -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -Werror -Wpointer-arith -Wconversion -Wsign-compare 
-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c -MMD -MP -MF ../generated/dependencies/precompiled.hpp.gch.d -x c++-header 
/Users/stephen/dev/java/src/macosx-port/hotspot/src/share/vm/precompiled.hpp -o precompiled.hpp.gch
/Users/stephen/dev/java/src/macosx-port/hotspot/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp:277: 
fatal error: opening dependency file ../generated/dependencies/precompiled.hpp.gch.d: Not a directory
compilation terminated.


This is how I update and build onmy  Mac OS X 10.6.5 Intel Core i7 system:

$ hg fpull -u
$ unset LC_ALL LANG CLASSPATH JAVA_HOME LD_LIBRARY_PATH; make ALLOW_DOWNLOADS=true SA_APPLE_BOOT_JAVA=true 
ALWAYS_PASS_TEST_GAMMA=true ALT_BOOTDIR=`/usr/libexec/java_home -v 1.6`


More information about the macosx-port-dev mailing list