java pt failure

Jung-uk Kim jkim at FreeBSD.org
Tue Feb 6 20:40:12 UTC 2018


On 02/06/2018 15:02, Julian Elischer wrote:
> 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.

Please see PR225054.

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

It was fixed by r328090.

https://svnweb.freebsd.org/changeset/base/328090

Jung-uk Kim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180206/add371d2/attachment.sig>


More information about the freebsd-ports mailing list