Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2018 04:02:01 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        "ports@FreeBSD.org" <ports@freebsd.org>
Subject:   java pt failure
Message-ID:  <1a9af3ec-d166-0532-116f-bcb3400015d5@freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1a9af3ec-d166-0532-116f-bcb3400015d5>