maintainer-feedback requested: [Bug 225054] java/openjdk* : fails to build with clang 6.0 (blocks 571 ports)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 10 16:09:50 UTC 2018


Jan Beich <jbeich at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to java at FreeBSD.org:
Bug 225054: java/openjdk* : fails to build with clang 6.0 (blocks 571 ports)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225054



--- Description ---
FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing this
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: unknown
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: expanded
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_21h45
m33s/logs/errors/openjdk6-b44,1.log
http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-09_21h45
m33s/logs/errors/openjdk8-8.152.16_2.log


More information about the freebsd-java mailing list