Date: Sat, 16 Sep 2023 08:50:38 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6527ebd1a84a - main - graphics/mesa-devel: unbreak build with LLD 17 Message-ID: <202309160850.38G8ocSW059145@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=6527ebd1a84a9f8059ea3bed3c2ae3a8d82333df commit 6527ebd1a84a9f8059ea3bed3c2ae3a8d82333df Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-09-16 08:31:49 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-09-16 08:44:50 +0000 graphics/mesa-devel: unbreak build with LLD 17 ld: error: version script assignment of 'global' to symbol '__driDriverExtensions' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'nouveau_drm_screen_create' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'radeon_drm_winsys_create' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'amdgpu_winsys_create' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'fd_drm_screen_create_renderonly' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'ac_init_shared_llvm_once' failed: symbol not defined --- graphics/mesa-devel/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile index f0fb166cce2a..fd02b5467fa2 100644 --- a/graphics/mesa-devel/Makefile +++ b/graphics/mesa-devel/Makefile @@ -47,6 +47,7 @@ MESON_ARGS= -Dgallium-omx=disabled \ -Dplatforms=${PLATFORMS:O:[-1..1]:ts,} \ -Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc \ ${NULL} +LDFLAGS+= -Wl,--undefined-version # https://gitlab.freedesktop.org/mesa/mesa/-/issues/8003 PLIST_SUB= ARCH=${ARCH:S/amd/x86_/} OPTIONS_DEFINE= LIBUNWIND LLVM LTO OPENCL VAAPI VDPAU VKLAYERS WAYLAND X11 ZSTD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309160850.38G8ocSW059145>