[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225054

            Bug ID: 225054
           Summary: java/openjdk* : fails to build with clang 6.0 (blocks
                    571 ports)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: java at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
            Blocks: 224669
             Flags: maintainer-feedback?(java at FreeBSD.org)

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_07h00m34s/logs/errors/openjdk6-b44,1.log
http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-10_07h00m34s/logs/errors/openjdk8-8.152.16_2.log
http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-09_21h45m33s/logs/errors/openjdk6-b44,1.log
http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-09_21h45m33s/logs/errors/openjdk8-8.152.16_2.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224669
[Bug 224669] [exp-run] Against projects/clang600-import branch
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-java mailing list