pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

openjdk7 not compiling with clang



Hi!

openjdk7 doesn't compile for me on 6.99.31/amd64 with clang from the
base system.

g++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 
-I/scratch/lang/openjdk7/work/openjdk/hotspot/src/share/vm/prims 
-I/scratch/lang/openjdk7/work/openjdk/hotspot/src/share/vm 
-I/scratch/lang/openjdk7/work/openjdk/hotspot/src/share/vm/precompiled 
-I/scratch/lang/openjdk7/work/openjdk/hotspot/src/cpu/x86/vm 
-I/scratch/lang/openjdk7/work/openjdk/hotspot/src/os_cpu/bsd_x86/vm 
-I/scratch/lang/openjdk7/work/openjdk/hotspot/src/os/bsd/vm 
-I/scratch/lang/openjdk7/work/openjdk/hotspot/src/os/posix/vm 
-I/scratch/lang/openjdk7/work/openjdk/hotspot/src/share/vm/adlc -I../generated 
-DASSERT -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/include/krb5 -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 
-DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 
-DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 
 -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_OS_FAMILY_bsd 
-DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 
-DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 
 -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Werror -g -c -o 
../generated/adfiles/adlparse.o 
/scratch/lang/openjdk7/work/openjdk/hotspot/src/share/vm/adlc/adlparse.cpp
clang: error: unknown argument: '-fcheck-new'
clang: error: unknown argument: '-fcheck-new'
clang: error: unknown argument: '-fcheck-new'
clang: error: unknown argument: '-fcheck-new'
clang: error: unknown argument: '-fcheck-new'
clang: error: unknown argument: '-fcheck-new'
...

Suggestions?
 Thomas


Home | Main Index | Thread Index | Old Index