[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 19:32:49 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225054
--- Comment #4 from Jan Beich <jbeich at FreeBSD.org> ---
No joy with \n
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:55: note: expanded
from macro 'LOCK_IF_MP'
#define LOCK_IF_MP(mp) "cmp $0, " #mp "\nje 1f\nlock\n1: "
^
<inline asm>:4:2: note: instantiated into assembly here
1: cmpxchgl %ecx,(%rdi)
^
openjdk6 - https://ptpb.pw/6chE
openjdk8 - https://ptpb.pw/CXbx
openjdk7 is also affected by
In file included from hotspot/src/share/vm/precompiled/precompiled.hpp:259:
In file included from hotspot/src/share/vm/opto/addnode.hpp:28:
In file included from hotspot/src/share/vm/opto/node.hpp:30:
In file included from hotspot/src/share/vm/opto/compile.hpp:44:
In file included from hotspot/src/share/vm/trace/tracing.hpp:28:
In file included from ../generated/tracefiles/traceEventClasses.hpp:18:
hotspot/src/share/vm/trace/traceStream.hpp:44:22: error: invalid suffix on
literal; C++11 requires a space between literal and identifier
[-Wreserved-user-defined-literal]
_st.print("%s = "UINT32_FORMAT, label, val);
^
hotspot/src/share/vm/trace/traceStream.hpp:48:22: error: invalid suffix on
literal; C++11 requires a space between literal and identifier
[-Wreserved-user-defined-literal]
_st.print("%s = "UINT32_FORMAT, label, val);
^
hotspot/src/share/vm/trace/traceStream.hpp:52:22: error: invalid suffix on
literal; C++11 requires a space between literal and identifier
[-Wreserved-user-defined-literal]
_st.print("%s = "INT32_FORMAT, label, val);
^
hotspot/src/share/vm/trace/traceStream.hpp:56:22: error: invalid suffix on
literal; C++11 requires a space between literal and identifier
[-Wreserved-user-defined-literal]
_st.print("%s = "UINT32_FORMAT, label, val);
^
http://package18.nyi.freebsd.org/data/headi386PR224669-default/2018-01-07_22h53m03s/logs/errors/openjdk-7.151.01,1.log
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-java
mailing list