From owner-freebsd-java@FreeBSD.ORG Tue Feb 25 23:13:13 2014 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1BA62D91 for ; Tue, 25 Feb 2014 23:13:13 +0000 (UTC) Received: from mail-yk0-x232.google.com (mail-yk0-x232.google.com [IPv6:2607:f8b0:4002:c07::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D4F0C169D for ; Tue, 25 Feb 2014 23:13:12 +0000 (UTC) Received: by mail-yk0-f178.google.com with SMTP id 79so312937ykr.9 for ; Tue, 25 Feb 2014 15:13:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=CkgjzUzsBsrsLb/HfnlpGrOTvsITFTMEV/yFkFl9RVo=; b=QqRxbkPksWaeUd1eZSxpD6qLeLapQn+2pyJg7BsSjeEizgwbCF/WzYp40EyRRxZOSd wfpL0ua14lKap6FDWx1JS9tKbkPYWZo8lv+5xIb2DGGNV0+7Fj6NZU+8yH8Ta0tJ+qTK E/bEjtlXcapa+4mPFvVk7ZkBL/k8NLPwSoIBChjClT50evRNgqgDKdr632rE5BhPlctE cK95Sz/hdUXxaBYCyvbioQ5Ikr/rq5eQEwCJSMlw9ZZpolDd6VGsUKulwQP0PgTQ1Ewg uC5gpgWAJvyCEG9aYYDBDqHi9zvMduUCpSoZAOkd1HIqgh8A4Yfb8e6F8F9sI+Q7PpJs 6Gaw== MIME-Version: 1.0 X-Received: by 10.236.18.226 with SMTP id l62mr3138102yhl.105.1393369991874; Tue, 25 Feb 2014 15:13:11 -0800 (PST) Sender: antoine.brodin.freebsd@gmail.com Received: by 10.170.80.11 with HTTP; Tue, 25 Feb 2014 15:13:11 -0800 (PST) Date: Wed, 26 Feb 2014 00:13:11 +0100 X-Google-Sender-Auth: u2irxlhs_sXRxZqdCQGAVOufQ1g Message-ID: Subject: Openjdk6 and clang 3.4 From: Antoine Brodin To: java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2014 23:13:13 -0000 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