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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 30 Jul 2022 12:07:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265425

--- Comment #9 from Dimitry Andric <dim@FreeBSD.org> ---
What happens with perl seems to be the same as bug 258872, i.e. dtrace is doing
something magical with the object files during the perl build, and this causes
duplicate symbols:

ld: error: duplicate symbol: __dtraceenabled_perl___op__entry
>>> defined in mpdtrace/perlmini.o
>>> defined in mpdtrace/dump.o

ld: error: duplicate symbol: __dtraceenabled_perl___op__entry
>>> defined in mpdtrace/perlmini.o
>>> defined in mpdtrace/run.o

ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry
>>> defined in mpdtrace/pp_hot.o
>>> defined in mpdtrace/pp_ctl.o

ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry
>>> defined in mpdtrace/pp_hot.o
>>> defined in mpdtrace/regexec.o

ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry
>>> defined in mpdtrace/pp_hot.o
>>> defined in mpdtrace/pp_sort.o
cc: error: linker command failed with exit code 1 (use -v to see invocation)

However, I've always failed to understand dtrace, and the only workaround(s) I
know are always to turn the DTRACE related options off.

Is there anyone who understands dtrace, and can offer assistance with this?

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