Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 19:32:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 225054] java/openjdk* : fails to build with clang 6.0 (blocks 571 ports)
Message-ID:  <bug-225054-8522-p2dTCPr4HC@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/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #4 from Jan Beich <jbeich@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.

help

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