From owner-freebsd-ports@freebsd.org Wed Jan 17 12:34:23 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59CE4EC2790; Wed, 17 Jan 2018 12:34:23 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D9626CAC0; Wed, 17 Jan 2018 12:34:22 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.avinity.tv (unknown [77.95.97.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 161455FBF; Wed, 17 Jan 2018 13:34:19 +0100 (CET) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_C90CCE19-7848-466B-851C-A645F4377A8E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: CLANG6, java/openjdk[7|8] compiler error: atomic.inline.hpp:70 error: unknown token in expression __asm__ volatile Date: Wed, 17 Jan 2018 13:34:18 +0100 In-Reply-To: <20180117120109.6b0c16f2@freyja.zeit4.iv.bundesimmobilien.de> Cc: freebsd-current , freebsd-ports To: "O. Hartmann" References: <20180117120109.6b0c16f2@freyja.zeit4.iv.bundesimmobilien.de> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 12:34:23 -0000 --Apple-Mail=_C90CCE19-7848-466B-851C-A645F4377A8E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 17 Jan 2018, at 12:01, O. Hartmann wrote: >=20 > On recent CURRENT (FreeBSD 12.0-CURRENT #0 r328002: Mon Jan 15 = 15:28:18 CET > 2018 amd64) both ports java/openjdk7 and java/openjdk8 fail to compile = with > devel/openjdk8's error as follows: >=20 >=20 > [...] > In file included > from = /usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/runtime/atomic.= inline.hpp:70: = /usr/ports/java/openjdk8/work/openjdk/hotspot/src/os_cpu/bsd_x86/vm/atomic= _bsd_x86.inline.hpp:95:21: > error: unknown token in expression __asm__ volatile (LOCK_IF_MP(%4) = "cmpxchgl > %1,(%3)" I had the idea this was worked around already, but I am planning on committing an upstream fix for this very soon. -Dimitry --Apple-Mail=_C90CCE19-7848-466B-851C-A645F4377A8E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWl9CygAKCRCwXqMKLiCW o7nQAJsFQvxOeZAbeeOqZq8KBhNgRWnbowCgrXZ/l/SLTjpJuujwyatl3138EII= =3HIG -----END PGP SIGNATURE----- --Apple-Mail=_C90CCE19-7848-466B-851C-A645F4377A8E--