java pt failure

Julian Elischer julian at freebsd.org
Tue Feb 6 20:32:11 UTC 2018


Hello ports people,

When I was compiling the openjdb8 port I got the following errors. 
This is on -current from a couple of weeks ago with a ports tree from 
459153


Compiling ../generated/adfiles/ad_x86_64_format.cpp
In file included from <built-in>:391:
In file included from 
/usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/precompiled/precompiled.hpp:29:
In file included from 
/usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/asm/assembler.hpp:28:
In file included from 
/usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/asm/codeBuffer.hpp:28:
In file included from 
/usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/code/oopRecorder.hpp:28:
In file included from 
/usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/memory/universe.hpp:29:
In file included from 
/usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/utilities/array.hpp:29:
In file included from 
/usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/memory/allocation.inline.hpp:28:
In file included from 
/usr/ports/java/openjdk8/work/openjdk/hotspot/src/share/vm/runtime/atomic.inline.hpp:70:
/usr/ports/java/openjdk8/work/openjdk/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)"
                     ^
/usr/ports/java/openjdk8/work/openjdk/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, %edx; je 1f; lock; 1: cmpxchgl %ecx,(%rdi)
                                     ^


does anyone know if this has been generally seen and if so was it 
fixed? (should I try move forwards?)

the whole project compile takes me over a day so moving up is not to 
be taken lightly if it won't fix it.

Julian



More information about the freebsd-ports mailing list