From nobody Fri Nov 24 12:40:01 2023 X-Original-To: dev-commits-ports-all@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 4ScF1Z0PL3z525Zr; Fri, 24 Nov 2023 12:40:02 +0000 (UTC) (envelope-from git@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 4ScF1Y74S7z3LwN; Fri, 24 Nov 2023 12:40:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700829602; 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=oyVLbd5nftG+yVXMKZ4BZElU1B0DFxyLuspf2e8/rtw=; b=Yw/WSF0NfP+BCMEhyCn2gt+rUd9g8/Xyk+5e+84FViQV324P9iJnJteoYZ5t/DiNK/NerA rlLjkLEzv4ceBiAN7Kc/39jVwqPW8V95p+asU9miHElf2mTnYMUZM2LZzFis4yAxHsxbLS GEHm1s8dAPwbP7h2nOSMk+ICrv82qww9jPKXWk2EyTDcW04zt2+urTygKa6BIBT/JTJOj1 /Tj36Divxto1WpzJS96KD7Y3sH84Cxsh0Ys/DdlkJzDHv0RU+qoCgKjNjGC4ShXpO5UXPB +VCqnXT8Lx3Dzgf4y6BjGTzsD1Lf3YjK1ypbOIQKcZe1L1f9W/7xONgC90bjgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700829602; 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=oyVLbd5nftG+yVXMKZ4BZElU1B0DFxyLuspf2e8/rtw=; b=WJcbk3lzL/IyHKXx85kjuqzXP2Kg7ZnrAiTo2JfaYOOR8oENdevntvk+nRKcHsQWoH2+Db 18TQOcydxqAAg31o2iKEqQM7VWZbTUiW+FbR1iD/wRkT+IK8Mdy790jxsHeWkQB+M56FuH R4z2QkDPWv8b4o2ySsSwA8JqdKPKTvFTjP4imlAfRsAiKM7RSsSOXmoFWWL+jP6foTLphl L49/1HHx5Jiz5S7MPDDbGVvNtQNh5bQ15yioBXmpDtEfjflgIZ7OwgO/Vg4GLCLpnwNFy4 V/+AmpHeE5GZ7s1q1NKI1kFvtoETnb1qntVLkiHKfi4DniqkrdKYxc4AhvXjSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700829602; a=rsa-sha256; cv=none; b=okqgBEeQEZgipOgolz1Nty2gnj6K4az5Cg8bEatfPujGJ0mHrlTuCBGEam7Rex7xuXbl0f RZNjJBf8dZciB6joBbn4vxwNvd6nTp1VOH4DnnuXA35Eh+DRw6rz2IuZTazGEWMBUyJZ/n 17meNDINZihJRUlFdEiTzFeR6ENwITHhJ45FE0dJ6jakBFgGkT2TAWNrD4FCshnpGc77ry 1UvXtrak6huY4yeEbxAimZuPmllPcPsuAuXzakq3KZeGOxw3vowFJ4V/FDxRVeEZRc1Npw 73VRH/HmFA57r/qlXzExgJp35yKM/eKqPDDta55ChkzLgnUzai5jqxcnme5cvw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4ScF1Y67kXzlVD; Fri, 24 Nov 2023 12:40:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AOCe1k8067399; Fri, 24 Nov 2023 12:40:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AOCe18t067395; Fri, 24 Nov 2023 12:40:01 GMT (envelope-from git) Date: Fri, 24 Nov 2023 12:40:01 GMT Message-Id: <202311241240.3AOCe18t067395@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 6abf052d171d - main - graphics/mesa: Re-add --undefined-version List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6abf052d171d602a9b3c5de1f94061b9fb4bfb16 Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=6abf052d171d602a9b3c5de1f94061b9fb4bfb16 commit 6abf052d171d602a9b3c5de1f94061b9fb4bfb16 Author: Emmanuel Vadot AuthorDate: 2023-11-24 12:38:32 +0000 Commit: Emmanuel Vadot CommitDate: 2023-11-24 12:39:58 +0000 graphics/mesa: Re-add --undefined-version This is needed for linking with lld 17 and it was lost in the update to 23.1.8 Reported by: dim Fixes: 29d855b6f775 ("graphics/mesa: update to 23.1.8") Sponsored by: Beckohh Automation GmbH & Co. KG --- graphics/mesa-dri/Makefile.common | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common index c046d4f0eb4e..1095a78d359c 100644 --- a/graphics/mesa-dri/Makefile.common +++ b/graphics/mesa-dri/Makefile.common @@ -82,6 +82,12 @@ BINARY_ALIAS+= python3=${PYTHON_VERSION} CONFIGURE_ENV+= LLVM_CONFIG=${LLVM_CONFIG} + +# Some symbols in mesa's linker version scripts are not always defined, +# depending on configuration options. Suppress errors with lld >= 17 due to +# these undefined symbols. +LDFLAGS+= -Wl,--undefined-version + LDFLAGS+= -Wl,-rpath=${LOCALBASE}/llvm${LLVM_VERSION}/lib MESON_ARGS+= -Dllvm=enabled \ -Dlibunwind=disabled \