From nobody Sun Jan 14 15:48:09 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TCfn75hKWz56TNK for ; Sun, 14 Jan 2024 15:48:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TCfn73550z49Zk for ; Sun, 14 Jan 2024 15:48:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705247291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mHbvbUylLHgIlCef9azWSwG87+IPbeav/MY3/OzxhK8=; b=XoV32UFjCRuOgVCLAQNCkDOVKHxP3Ky7l90F28ke59Fsf7rPdfQWE3UYHhJXwxiTTZVBed cSGEocWa7Rlmjanry9o3eowroGOGQnInUucogjks09z2yG5E++xQaw2+B4WRNrrNcfYWfG 3G66Y0EUiBIklMVAkT96TNj5XN9vdeItOaKSpg/r7XiGW4UWt1yPBJ/9osJzpoTvLRtEws FmLMeczQ53stnTvfPihgcbCH7MK+fNTVgr91XR0Q5tbZwRtR6ybMlE+gNBbajgFaZoxcty 0dkxwUho3inHEiRWubN2RkxU6f9SVWk1vix0mpw87qVMRP7S0MWY0Ru0sfKLTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705247291; a=rsa-sha256; cv=none; b=avkwHq02O7G3H3H4LSPatQpXjPlaAppNr1KnRkkGL9BA90tfOdsT1IpCLN84uYP/6xYuBa jfiIlXwf+NrIqtxFjTmB+lelWW+RkBAGiDlXRKcFodn8R4BJuYhalJzyk42R6LmtPm2xM+ GBPB4eYy92llR4CP45+O4NgoVX3f+HJlmccDSU4A2cj86Bwix175LMfqpMlnflBdnMcHA6 DyuCuQMbdLbnyexktLV/DtraZrReznLTR7EK7nrAtQ/v9Ox/tlbzTK77JfByW/iSZRfpqy t2T/dUut7rTjE1CDqm+Ly7lIgE53OSbXe2o1rDqdyo5KkIeifr3AzlNE1ey47g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TCfn729R9zKSW for ; Sun, 14 Jan 2024 15:48:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40EFmBvj081125 for ; Sun, 14 Jan 2024 15:48:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40EFmBwP081119 for ports-bugs@FreeBSD.org; Sun, 14 Jan 2024 15:48:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 276330] graphics/mesa-libs: ld: error: version script assignment of 'global' to symbol 'XXX' failed: symbol not defined Date: Sun, 14 Jan 2024 15:48:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@oldach.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276330 Bug ID: 276330 Summary: graphics/mesa-libs: ld: error: version script assignment of 'global' to symbol 'XXX' failed: symbol not defined Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: freebsd@oldach.net Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) It appears that the recent llvm17 in base breaks building graphics/mesa-lib= s: FAILED: src/gallium/targets/dri/libgallium_dri.so c++ -o src/gallium/targets/dri/libgallium_dri.so src/gallium/targets/dri/libgallium_dri.so.p/target.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libgallium_dri.so -fstack-protector-strong -O2 -pipe -fstack-protector-strong -fno-strict-aliasing '-Wl,-rpath,$ORIGIN/../../../mapi/shared-glapi:/usr/local/lib' -Wl,-rpath-link,/usr/obj/usr/ports/graphics/mesa-libs/work/mesa-23.3.3/_bui= ld/src/mapi/shared-glapi -Wl,-rpath-link,/usr/local/lib src/gallium/frontends/dri/libdri.a src/util/libmesa_util.a src/util/libmesa_util_sse41.a src/util/blake3/libblake3.a src/c11/impl/libmesa_util_c11.a src/mesa/libmes= a.a src/compiler/glsl/libglsl.a src/compiler/glsl/glcpp/libglcpp.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/mesa/libmesa_sse41= .a src/compiler/spirv/libvtn.a src/gallium/auxiliary/libgalliumvl.a src/gallium/auxiliary/libgallium.a src/mapi/shared-glapi/libglapi.so.0.0.0 src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a src/loader/libloader.a src/util/libxmlconfig.a src/gallium/winsys/sw/null/libws_null.a src/gallium/winsys/sw/wrapper/libws= w.a src/gallium/winsys/sw/dri/libswdri.a src/gallium/winsys/sw/kms-dri/libswkmsdri.a src/gallium/drivers/r300/libr30= 0.a src/gallium/winsys/radeon/drm/libradeonwinsys.a -Wl,--build-id=3Dsha1 -Wl,--gc-sections -Wl,--version-script /usr/obj/usr/ports/graphics/mesa-libs/work/mesa-23.3.3/src/gallium/targets/= dri/dri.sym -Wl,--dynamic-list /usr/obj/usr/ports/graphics/mesa-libs/work/mesa-23.3.3/src/gallium/targets/= dri/../dri.dyn /usr/local/lib/libdrm.so -pthread /usr/local/lib/libexpat.so /usr/lib/libz.= so -lm /usr/local/lib/libxcb-randr.so /usr/local/lib/libdrm_radeon.so -Wl,--end-group 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 '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 c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) [ 93% 962/1031] cc -Isrc/glx/libglx.a.p -Isrc/glx -I../src/glx -Iinclude -I../include -Isrc -I../src -Isrc/mapi/glapi -I../src/mapi/glapi -Isrc/load= er -I../src/loader -Isrc/mapi/glapi/gen -I/usr/local/include -I/usr/local/include/libdrm -fvisibility=3Dhidden -fdiagnostics-color=3Dnev= er -DNDEBUG -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -std=3Dc11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION=3D"23.3.3"' '-DPACKAGE_BUGREPORT=3D"https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_OPENGL=3D1 -DHAVE_OPENGL_ES_1=3D1 -DHAVE_OPENGL_ES_2=3D1 -DHAVE_R300 -DVIDEO_CODEC_VC1DEC=3D0 -DVIDEO_CODEC_H264DEC=3D0 -DVIDEO_CODEC_H264ENC=3D0 -DVIDEO_CODEC_H265DEC=3D0 -DVIDEO_CODEC_H265ENC=3D0 -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DENABLE_ST_OMX_BELLAGIO=3D0 -DENABLE_ST_OMX_TIZONIA=3D0 -DGLX_INDIRECT_REN= DERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=3D0 -DALLOW_KCMP -DETIME=3DETIMEDOUT -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSW= AP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY -DHAVE_FMEMOPEN -D_GNU_SOURCE -DUSE_SSE41 -DHAVE___BUILTIN_IA32_CLFLUSHOPT -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_SYS_SYSCTL_H -DHAVE_XLOCALE_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_PTHREAD_NP_H -DHAVE_STR= TOF -DHAVE_MKOSTEMP -DHAVE_MEMFD_CREATE -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_S -DHAVE_POSIX_FALLOCATE -DHAVE_BSD_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_LIBDRM -DHAVE_LIBUDEV -DUSE_LIBELF -DUSE_LIBGLVND=3D1 -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_DRISW_KMS -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes -Werror=3Dreturn-type -Werror=3Dempty-body -Werror=3Dincompatible-pointer-types -Werror=3Dint-conversion -Wimplicit-fallthrough -Wmisleading-indentation -Wno-missing-field-initiali= zers -fno-math-errno -fno-trapping-math -Qunused-arguments -fno-common -Wno-microsoft-enum-value -Wno-unused-function -Werror=3Dformat -Wformat-se= curity -ffunction-sections -fdata-sections -Wno-unused-variable -Wno-unused-but-set-variable -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -D_THREAD_SAFE -pthread '-DGL_LIB_NAME=3D"libGLX_mesa.so.0"' -MD -MQ src/glx/libglx.a.p/meson-generated_.._.._mapi_glapi_gen_indirect.c.o -MF src/glx/libglx.a.p/meson-generated_.._.._mapi_glapi_gen_indirect.c.o.d -o src/glx/libglx.a.p/meson-generated_.._.._mapi_glapi_gen_indirect.c.o -c src/mapi/glapi/gen/indirect.c ninja: build stopped: subcommand failed. =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/mesa-libs *** Error code 1 Stop. make: stopped in /usr/ports/graphics/mesa-libs This seems to be caused by https://gitlab.freedesktop.org/mesa/mesa/-/issues/9825. Adding the suggested -Wl,--undefined-version helps. --=20 You are receiving this mail because: You are the assignee for the bug.=