From nobody Sun Dec 03 14:43:52 2023 X-Original-To: dev-commits-ports-main@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 4SjqLK2Dvhz52xPp; Sun, 3 Dec 2023 14:43:53 +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 4SjqLK1L4Dz4YbL; Sun, 3 Dec 2023 14:43:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701614633; 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=Q9uyxjLmgv7hMfbUYSZhz8DvjH0iFLSZiU501HXNFrc=; b=DyK6QcIoZecLDFWl9YrS140r1qW4aqs4Lpe+mD/aqK8l75MsPFGEbt1EUiYbspH76H+MXv 43JKQHsM+QJv/daoxH3N6UkZon1XdHKjPQb6NK9SsV521G1nlgi7uzvedXJEWw+K6sJ/CK fBio6O2XRUvguopZux/9mC0Tw1256p3w+2Ba+hlcx8P627njH/MsBcAAM8ZRR+PBPJC1QN e7zha/NLopBBJm0KuDkXEnhznYGMiUsyUUCCPJe0hLwO7hxaJBFwQVe+InNNr2nojdRaSk Rsc4jWnSelxeuwINQSXDWWFVSp16LV7Gs5M3VqOcY391H82llHkur/Fnh6x4VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701614633; 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=Q9uyxjLmgv7hMfbUYSZhz8DvjH0iFLSZiU501HXNFrc=; b=bDjUwKFDcYBiGLj+NtbVC2YCebTwYlGNIdwryFGAdRcZ+ZolE2M1rQDM+oJivUU4HmSxFv 4uppdU8FYwBHXVvIHmX6Pa+id5dnBFvDHFkESZ1fkmJc6fJZ/WsRDORFysBFokjjUV/4ji g1FLZF7flDr4/lgiUqqw5hzfDEBC07DlPwlRVEP92E8+rhQuuUmRnf576gOUkWnOXY6pMu Fg88hhC5ZLPhrbi3e2YXGhGJggMdGMgcr/NglfAL/0IgINGmhJxReBwSU9bFc4uEl2FAvK X4fF3z6UAl1aV/vxqE0IC2fo0+Ga2yY+pS7KxlE9syxhQisd97nf0uVC5Jlj5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701614633; a=rsa-sha256; cv=none; b=MOtDv5E9piC+A+eWjd0Rx6QG8CCnZBq21r+f3ZArd8ZJf9YXh80xDpVge6Q0S2ctKjgox/ AEj1dQZ92zH0Mu30LTOjX9jUSUzc5P8y0qB2NOe/WYrxtX76cYlH6f2jjCLoEEBIWh/bbG 0dux6Mgl3RjoT9ww/kzFUEl9KQ1BNPjNydloEwjRriErk/FDdbIbw9p9tfr7MKRU7FFkdi LTrZ0grZw+i39wfpHPLekcJEui8FpybECl+AcHeYNBQaAkqcoGx7h1HHztCgg7p4B4cS2P cUDtY5ReXWFSanCesdUN0KjePRsFVZCeGj62TJWUDeAjrokB+r/cOoOjtcv9hg== 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 4SjqLK0N1gz13KZ; Sun, 3 Dec 2023 14:43:53 +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 3B3Ehq7P020863; Sun, 3 Dec 2023 14:43:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3B3EhqFB020860; Sun, 3 Dec 2023 14:43:52 GMT (envelope-from git) Date: Sun, 3 Dec 2023 14:43:52 GMT Message-Id: <202312031443.3B3EhqFB020860@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 37790b26cbda - main - x11/virtualgl: fix build with lld 17 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 37790b26cbda11cd4bb6f237b86cd94739c4059c Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=37790b26cbda11cd4bb6f237b86cd94739c4059c commit 37790b26cbda11cd4bb6f237b86cd94739c4059c Author: Dimitry Andric AuthorDate: 2023-12-03 14:35:33 +0000 Commit: Dimitry Andric CommitDate: 2023-12-03 14:40:25 +0000 x11/virtualgl: fix build with lld 17 Building x11/virtualgl with lld 17 results in the following link errors: ld: error: version script assignment of 'global' to symbol 'clCreateContext' failed: symbol not defined Since the same linker version script is used for all "libvglfaker" library variants, where only one of the implements the clCreateContext symbol, suppress errors with lld >= 17 due to this undefined symbol. PR: 273753 MFH: 2023Q4 --- x11/virtualgl/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x11/virtualgl/Makefile b/x11/virtualgl/Makefile index 3e2f0c99cafb..2f777cefb3b0 100644 --- a/x11/virtualgl/Makefile +++ b/x11/virtualgl/Makefile @@ -25,6 +25,11 @@ CMAKE_ARGS= -DTJPEG_INCLUDE_DIR=${LOCALBASE}/include \ -DCMAKE_INSTALL_DOCDIR=${DOCSDIR} CMAKE_INSTALL_PREFIX= ${LOCALBASE}/VirtualGL +# Some versioned symbols in virtualgl are undefined when libvglfaker.so +# is linked. Suppress errors with lld >= 17 due to these undefined +# symbols. +LDFLAGS+= -Wl,--undefined-version + DOCSDIR= ${LOCALBASE}/VirtualGL/doc OPTIONS_DEFINE= OPENCL OPENSSL XVIDEO DOCS