[Bug 265425] [exp-run] Against llvm-15-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 12 Dec 2022 20:41:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265425

--- Comment #55 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Dimitry Andric from comment #45)
I believe that the DTrace change in
https://cgit.freebsd.org/src/commit/?id=be39466a1035ffb13268cd63723e976898e9b91e
will also fix the link errors encountered in openjdk 17 and 18, e.g:

https://pkg-status.freebsd.org/gohan05/data/maini386PR265425-default/2022-12-06_12h24m32s/logs/errors/openjdk17-17.0.5+8.1_1.log

  ld: error: duplicate symbol: __dtrace_hotspot___monitor__notifyAll
  >>> defined in
/wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-1/build/bsd-x86-server-release/hotspot/variant-server/libjvm/objs/objectMonitor.o
  >>> defined in
/wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-1/build/bsd-x86-server-release/hotspot/variant-server/libjvm/objs/synchronizer.o

  ld: error: duplicate symbol: __dtrace_hotspot___monitor__notify
  >>> defined in
/wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-1/build/bsd-x86-server-release/hotspot/variant-server/libjvm/objs/objectMonitor.o
  >>> defined in
/wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-1/build/bsd-x86-server-release/hotspot/variant-server/libjvm/objs/synchronizer.o

https://pkg-status.freebsd.org/gohan05/data/maini386PR265425-default/2022-12-06_12h24m32s/logs/errors/openjdk18-18.0.2+9.1_1.log

  ld: error: duplicate symbol: __dtrace_hotspot___monitor__notifyAll
  >>> defined in
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/build/bsd-x86-server-release/hotspot/variant-server/libjvm/objs/objectMonitor.o
  >>> defined in
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/build/bsd-x86-server-release/hotspot/variant-server/libjvm/objs/synchronizer.o

  ld: error: duplicate symbol: __dtrace_hotspot___monitor__notify
  >>> defined in
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/build/bsd-x86-server-release/hotspot/variant-server/libjvm/objs/objectMonitor.o
  >>> defined in
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/build/bsd-x86-server-release/hotspot/variant-server/libjvm/objs/synchronizer.o

-- 
You are receiving this mail because:
You are on the CC list for the bug.