Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 00:13:11 +0100
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        java@freebsd.org
Subject:   Openjdk6 and clang 3.4
Message-ID:  <CAALwa8kn80Xhd2f2K496H6OU7Z3TsNmx=84SQ4enP3xVUvXA4A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am not sure if you are already aware of this or not.
Clang 3.4 has been imported in head 10 days ago.  This new version
errors on unknown flags.
Openjdk6 no longer builds with clang 3.4 because of this (-fcheck-new
unknown by clang):

gmake[7]: Entering directory
`/wrkdirs/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
Compiling /wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp
rm -f ../generated/adfiles/adlparse.o
c++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64
-I/wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims
-I/wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm
-I/wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/precompiled
-I/wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/cpu/x86/vm
-I/wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/os_cpu/bsd_x86/vm
-I/wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm
-I/wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/os/posix/vm
-I/wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc
-I../generated -DASSERT -O2 -pipe -fno-strict-aliasing
-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 -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
 -g -c -o ../generated/adfiles/adlparse.o
/wrkdirs/usr/ports/java/openjdk6/work/hotspot/src/share/vm/adlc/adlparse.cpp
c++: error: unknown argument: '-fcheck-new'
c++: error: unknown argument: '-fcheck-new'
gmake[7]: *** [../generated/adfiles/adlparse.o] Error 1

Full log is available at
http://package21.nyi.freebsd.org/bulk/head-default-baseline/2014-02-25_16h38m32s/logs/errors/openjdk6-b30,1.log

Cheers,

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8kn80Xhd2f2K496H6OU7Z3TsNmx=84SQ4enP3xVUvXA4A>