Graal on Mavericks

Mario Wolczko mario.wolczko at oracle.com
Fri Dec 20 17:52:18 PST 2013


I'm getting my build environment going again since upgrading to Mavericks.  I'm getting a clang crash while compiling HotSpot - anyone seen this and know the fix?  This is while building the graal version associated with fast_r.

My mx/env contains:

DEFAULT_VM=server
COMPILER_WARNINGS_FATAL=false
USE_CLANG=true
LFLAGS=-Xlinker -lstdc++
USE_PRECOMPILED_HEADER=0

Here's the log:

Excluding com.oracle.graal.api.meta.jdk8.test from build (Java compliance level 1.8 required)
Excluding com.oracle.graal.hotspot.jdk8.test from build (Java compliance level 1.8 required)
cd /Users/mario/Work/Eclipse/graal/make; \
	/Applications/Xcode.app/Contents/Developer/usr/bin/make BUILD_DIR=/Users/mario/Work/Eclipse/graal/build/bsd/bsd_amd64_compiler2 BUILD_FLAVOR=product VM_TARGET=product generic_build2 
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1

python2.7 -u /Users/mario/Work/Eclipse/graal/mxtool/mx.py build --no-native --export-dir /Users/mario/Work/Eclipse/graal/build/bsd/shared
Excluding com.oracle.graal.api.meta.jdk8.test from build (Java compliance level 1.8 required)
Excluding com.oracle.graal.hotspot.jdk8.test from build (Java compliance level 1.8 required)
mkdir -p /Users/mario/Work/Eclipse/graal/build/bsd
cd /Users/mario/Work/Eclipse/graal/build/bsd; \
	    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f /Users/mario/Work/Eclipse/graal/make/bsd/Makefile \
		       LP64=1 MACOSX_UNIVERSAL=true BOOTDIR=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home OUTPUTDIR=/Users/mario/Work/Eclipse/graal/build/bsd GAMMADIR=/Users/mario/Work/Eclipse/graal MAKE_VERBOSE= HOTSPOT_RELEASE_VERSION=25.0-b59 JRE_RELEASE_VERSION="1.8.0" HOTSPOT_BUILD_VERSION=internal product
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1

cd bsd_amd64_compiler2/product && /Applications/Xcode.app/Contents/Developer/usr/bin/make  " LP64=1 "
/Users/mario/Work/Eclipse/graal/build/bsd/bsd_amd64_compiler2/product
Rescanned ../generated/adfiles/bsd_x86_64.ad  but encountered no changes.
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
if [ -d /Users/mario/Work/Eclipse/graal/agent -a "x86" != "ia64" \
             -a "x86" != "arm" \
             -a "x86" != "ppc" \
             -a "x86" != "zero" ] ; then \
	   /Applications/Xcode.app/Contents/Developer/usr/bin/make -f sa.make /Users/mario/Work/Eclipse/graal/build/bsd/bsd_amd64_compiler2/product/../generated/sa-jdi.jar; \
	fi
make[5]: `/Users/mario/Work/Eclipse/graal/build/bsd/bsd_amd64_compiler2/product/../generated/sa-jdi.jar' is up to date.
echo "dtrace headers generated"
dtrace headers generated
Compiling /Users/mario/Work/Eclipse/graal/src/share/vm/compiler/abstractCompiler.cpp
Compiling /Users/mario/Work/Eclipse/graal/src/share/vm/utilities/accessFlags.cpp
Compiling ../generated/adfiles/ad_x86_64.cpp
Compiling ../generated/adfiles/ad_x86_64_clone.cpp
Compiling ../generated/adfiles/ad_x86_64_expand.cpp
Compiling ../generated/adfiles/ad_x86_64_format.cpp
Compiling ../generated/adfiles/ad_x86_64_gen.cpp
Compiling ../generated/adfiles/ad_x86_64_misc.cpp
clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

clang: note: diagnostic msg: 

********************



PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_misc-Gp9I3v.cpp

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_misc-Gp9I3v.sh

clang: note: diagnostic msg: 



********************

make[4]: *** [ad_x86_64_misc.o] Error 254

make[4]: *** Waiting for unfinished jobs....

clang: note: diagnostic msg: 

********************



PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_gen-m6LuAu.cpp

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_gen-m6LuAu.sh

clang: note: diagnostic msg: 



********************

make[4]: *** [ad_x86_64_gen.o] Error 254

clang: note: diagnostic msg: 

********************



PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64-xGEQOn.cpp

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64-xGEQOn.sh

clang: note: diagnostic msg: 



********************

make[4]: *** [ad_x86_64.o] Error 254

clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

clang: note: diagnostic msg: 

********************



PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_expand-nHh9gT.cpp

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_expand-nHh9gT.sh

clang: note: diagnostic msg: 



********************

make[4]: *** [ad_x86_64_expand.o] Error 254

clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

clang: note: diagnostic msg: 

********************



PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/abstractCompiler-D5yMGV.cpp

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/abstractCompiler-D5yMGV.sh

clang: note: diagnostic msg: 



********************

make[4]: *** [abstractCompiler.o] Error 254

clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

clang: note: diagnostic msg: 

********************



PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/accessFlags-Qe6EXv.cpp

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/accessFlags-Qe6EXv.sh

clang: note: diagnostic msg: 



********************

make[4]: *** [accessFlags.o] Error 254

clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

clang: note: diagnostic msg: 

********************



PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_clone-ZZQteN.cpp

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_clone-ZZQteN.sh

clang: note: diagnostic msg: 



********************

make[4]: *** [ad_x86_64_clone.o] Error 254

clang: error: unable to execute command: Segmentation fault: 11

clang: error: clang frontend command failed due to signal (use -v to see invocation)

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix

clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

clang: note: diagnostic msg: 

********************



PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_format-1WEK2i.cpp

clang: note: diagnostic msg: /var/folders/6f/v22tl__c8xj4030059bb3q1r000rbc/T/ad_x86_64_format-1WEK2i.sh

clang: note: diagnostic msg: 



********************

make[4]: *** [ad_x86_64_format.o] Error 254

make[3]: *** [the_vm] Error 2

make[2]: *** [product] Error 2

make[1]: *** [generic_build2] Error 2

make: *** [product] Error 2







More information about the graal-dev mailing list