From nobody Mon Oct 09 10:19:14 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 4S3w4M0CM4z4xJFv; Mon, 9 Oct 2023 10:19:15 +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 4S3w4L4mdFz3fL0; Mon, 9 Oct 2023 10:19:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696846754; 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=B4XE7JWssoO8zsTWMBi5xOt5FJ+CxnoIn5jeCPdLFKo=; b=E2o5Nk42HFeeiVw0YZZxoZoenB8i1nS42eXvhyArYjAcbxpV4SVemi2KPn2TK/rzf0nJRD oMflCaQMy+cAZ76Yn3Ffh+E2h/8wq3XBGRf7UFYBvE7vv1ZZTU+RhB6XgaRzJL7EF5ZsUk oQ0ajkBK72JYPPw0zriwz3RI15eoz6NE6LM9zcw0DLUaQyJYXLqt2EYcil0i5RLIwP4h9k vQF8Th3fidLZ9GCs38nybwMFfWfhKCdUZIRntrMPC2SuhRh8aOJBq71EX9nOf9pbqB8UVv voR9pBOsKhP/8khGYiAxfY/Zv9mrnfRCWeTm9XbIrRY1lM7ibnUbsHDSxuGysg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696846754; a=rsa-sha256; cv=none; b=BFEVJOO7Grtle1DSLTl2rGXebBvcVqQgxr3LY2C8sy5aJlFjzG10Ec92d7rZRvTrW9r1b+ iml1Nxg/n/KX7OWGqN/yJQGaEi4x+NcirLKwjVOmFfMfVggoXDKoIxWb+Tl4z3PzZkY+oC +ZxqLqa5hvu4iYo6Awc7JNz/wfjIWOZMrMvq9+/NVwsqMC7GG4JOnQszsi7u2Uf8dLeWE0 PZUxo0PvbIqPcunTQ2pfuK+uQeReXl2RO1B9V4xw0I/OQt20UQ3C1QbWGjul4NWq4Pinv6 4/3MT6+VvYWR8k4evqoGperkFiYuVr8op/7bHju0vZPx9dUO38tSJQ3EPn5umg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696846754; 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=B4XE7JWssoO8zsTWMBi5xOt5FJ+CxnoIn5jeCPdLFKo=; b=XcixIaTNohrfaHHM5A5WGjesrzIm6cIOTj/trYsdlPd/udcYFTSbV/TqflqTCMJOScS4p5 FVGbfaKMqzv0UBIr8QDY1ZTlShnuo5pBC09N6lT314HWQ0J6udtu2V63p8wcoBGxaWYo8r Hx5yEZ0kmpvrqLczeYDA4y6Rh87eNiFtEHPDhemJJ75+KnNIlP8ZXA9ETSDDDuoQJjWLpr cqbppUiqAqjzh0VxOJACBwMA4rb57I3wPsPuuc9RHMPsaeQIgA4ybaall0nds/I6mTlsaN zTY5Ftn+X3nLzWHuJHk3f7ATLfDVKLutD9bxUeiSAIW0RhHvvCMK7UD8U9ecRw== 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 4S3w4L3kqSzrfl; Mon, 9 Oct 2023 10:19:14 +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 399AJEHQ073716; Mon, 9 Oct 2023 10:19:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 399AJE44073713; Mon, 9 Oct 2023 10:19:14 GMT (envelope-from git) Date: Mon, 9 Oct 2023 10:19:14 GMT Message-Id: <202310091019.399AJE44073713@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ganael LAPLANCHE Subject: git: 3677983542cc - main - devel/onetbb: fix build with lld 17 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: martymac X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3677983542cc09a0e5f085e463a895e9e4dce9aa Auto-Submitted: auto-generated The branch main has been updated by martymac: URL: https://cgit.FreeBSD.org/ports/commit/?id=3677983542cc09a0e5f085e463a895e9e4dce9aa commit 3677983542cc09a0e5f085e463a895e9e4dce9aa Author: Dimitry Andric AuthorDate: 2023-10-09 10:16:49 +0000 Commit: Ganael LAPLANCHE CommitDate: 2023-10-09 10:16:49 +0000 devel/onetbb: fix build with lld 17 Many symbols in the linker version scripts are undefined because link time optimization (-flto=thin) removes them. Suppress errors with lld >= 17 due to these undefined symbols. PR: 274337 Reported by: dim --- devel/onetbb/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/devel/onetbb/Makefile b/devel/onetbb/Makefile index ae0022a7ae78..4b4eaccf0be0 100644 --- a/devel/onetbb/Makefile +++ b/devel/onetbb/Makefile @@ -18,6 +18,11 @@ CMAKE_ARGS+= -DTBB_STRICT:BOOL=FALSE \ -DCMAKE_HWLOC_2_LIBRARY_PATH:PATH="${LOCALBASE}/lib/libhwloc.so" \ -DCMAKE_HWLOC_2_INCLUDE_PATH:PATH="${LOCALBASE}/include" +# Many symbols in the linker version scripts are undefined because link time +# optimization (-flto=thin) removes them. Suppress errors with lld >= 17 due to +# these undefined symbols. +LDFLAGS+= -Wl,--undefined-version + CONFLICTS= tbb USE_GITHUB= yes