freebsd-nq/cddl
Mark Johnston be39466a10 libdtrace: Change the binding of USDT probe symbols to STB_WEAK
Otherwise, if multiple object files contain references to the same
probe, newish lld will refuse to link them by default, raising a
duplicate global symbol definition error.  Previously, duplicate global
symbols with identical absolute st_values were permitted by both lld and
GNU ld.

Since dtrace has no use for probe function symbols after the relocation
performed by dtrace -G, make the symbols weak as well, following a
suggestion from MaskRay.

Reported by:	dim
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2022-12-11 11:27:22 -05:00
..
compat/opensolaris Delete obsolete Solaris compat files 2021-05-24 08:48:47 -06:00
contrib/opensolaris libdtrace: Change the binding of USDT probe symbols to STB_WEAK 2022-12-11 11:27:22 -05:00
lib tcp: embed inpcb into tcpcb 2022-12-07 09:00:48 -08:00
sbin pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
share pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
tests
usr.bin zfs: merge openzfs/zfs@2163cde45 2022-11-16 21:27:42 +01:00
usr.libexec cddl/*: add a WITH(OUT)_DTRACE option 2022-07-06 14:03:48 +01:00
usr.sbin dwatch: install hard links with same mode as target 2022-11-23 15:10:33 -05:00
Makefile zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00