Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 16:09:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 225054] java/openjdk* : fails to build with clang 6.0 (blocks 571 ports)
Message-ID:  <bug-225054-8522-wKSvIe0IbZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225054-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225054-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to java@FreeBSD.or=
g:
Bug 225054: java/openjdk* : fails to build with clang 6.0 (blocks 571 ports)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225054



--- Description ---
FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing th=
is
port failed to build.

In file included from hotspot/src/share/vm/utilities/accessFlags.cpp:26:
In file included from hotspot/src/share/vm/oops/oop.inline.hpp:28:
In file included from
hotspot/src/share/vm/gc_implementation/shared/ageTable.hpp:30:
In file included from hotspot/src/share/vm/runtime/perfData.hpp:28:
In file included from hotspot/src/share/vm/memory/allocation.inline.hpp:28:
In file included from hotspot/src/share/vm/runtime/atomic.inline.hpp:70:
hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp:95:21: error: unkno=
wn
token in expression
  __asm__ volatile (LOCK_IF_MP(%4) "cmpxchgl %1,(%3)"
		    ^
hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp:48:24: note: expand=
ed
from macro 'LOCK_IF_MP'
#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; lock; 1: "
		       ^
<inline asm>:1:30: note: instantiated into assembly here
	cmp $0, %esi; je 1f; lock; 1: cmpxchgl %ecx,(%edi)
				    ^

To reproduce:
$ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m
svn+https
$ poudriere bulk -Ctj clang6-amd64 java/openjdk6 java/openjdk7 java/openjdk8

http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-10_=
07h0
0m34s/logs/errors/openjdk6-b44,1.log
http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-10_=
07h0
0m34s/logs/errors/openjdk8-8.152.16_2.log
http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-09_2=
1h45
m33s/logs/errors/openjdk6-b44,1.log
http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-09_2=
1h45
m33s/logs/errors/openjdk8-8.152.16_2.log



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225054-8522-wKSvIe0IbZ>