From nobody Fri Oct 06 17:50:52 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 4S2GDr3B7Wz4w0SX; Fri, 6 Oct 2023 17:50:52 +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 4S2GDr2CYgz4cSW; Fri, 6 Oct 2023 17:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696614652; 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=Rw1YwKfp4320uN/KHwWmRURBUeNmHanm1hMsNh3h9KE=; b=EagAIqqbXpnYcSg3Feo/3YwAhdbgkQljqHVXKO/VB+G0N6wFo4JWeG0t0lXVgYxsPPSBSE NEIglT1asib9BDq3ubIpgUcotoqOhPhIKyzqL+Hwduz7O+e26cl/u1+uAx8Ce+Qe8ZX8T7 z73tn38/A5i+JUeS9K4FaiN0iGR/9gIBbB0Yjrc4GANitPDcW8hsB0rvirVEK0XjBUXAhF yAOyl2PT4utmPcKOUdlFxGytFEbLSC/ufhdHPLve2ltmX2fY4IwjVtw4xypr1M/whBf2vz 73IS1Kxizu1Xcb/d1KHfphlLvmt7tpEt+2t8uYy4xMUcZj8EF9FTkQTD6/KsGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696614652; a=rsa-sha256; cv=none; b=iwl6HUGJFnXvHd7nHQFxrVIm+yvi6ORq4F5ajHx4P9TNfLVEm3Juz8WUA2EPfVIF2p+kAC RrtG9ViDpAzLGDwyp0iO7D7pld70GyapptNpdKWxijCIUNUXLPWnb475Qim9k+ubQ1ZOEu dXmb2CCNI3ISyelT5j+HVvcfPVUtB8E8LLk0U69EJgn9lIvf7eTr8RwoBmthcOwAEMn/4R IKyXdJP48ZwPmJg4oz8kMjb6Iow36tGu6o6jzOnAoPDdrI9bFtT7xXt2KfclImnsjMUkYB lLOw0aLM1+3fWU3xFcZR6t1Ewm+vONkwYC3+MIEmr6jtFncsyYTH58Pj1MMYpQ== 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=1696614652; 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=Rw1YwKfp4320uN/KHwWmRURBUeNmHanm1hMsNh3h9KE=; b=j2LhJSFI8BKTqupMWkpOrjxpC06IN9zzbBOytB2odsoU0cod8TyhFpRs1pF0+7DtTd2L1d 5PB7/oNInVegxbj8nuycMDl5++XIbp65S5u1qNMtPy0ilYMvaTs/SzfeNsCG0ZVngDKJd9 pWVczN6fIpIPRTGWDKP17LJjA0BLw54d/PpVioEbhjCGjEwBAsDtd8frcBTMKX2dG6QVgZ R0xf0/SJkeLGj+yZJew8aoW83gCGZAIA409DncUlYJoLJzdA0v4aSgYNGsir6O0FaM9RBU PMvwdOnAOmSlqLHUOlk+epZcecMF7lVpSWrlwtAZsnXVuDmwhtZgoHw1uuFhgA== 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 4S2GDr1JrPzxl8; Fri, 6 Oct 2023 17:50:52 +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 396HoqpT039028; Fri, 6 Oct 2023 17:50:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 396HoqBx039025; Fri, 6 Oct 2023 17:50:52 GMT (envelope-from git) Date: Fri, 6 Oct 2023 17:50:52 GMT Message-Id: <202310061750.396HoqBx039025@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: 1a59d78ef32b - main - devel/elfutils: 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: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1a59d78ef32b40408914f9ac2845ecd9d802eebe Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a59d78ef32b40408914f9ac2845ecd9d802eebe commit 1a59d78ef32b40408914f9ac2845ecd9d802eebe Author: Dimitry Andric AuthorDate: 2023-09-21 16:02:40 +0000 Commit: Dimitry Andric CommitDate: 2023-10-06 17:48:52 +0000 devel/elfutils: fix build with lld 17 Building devel/elfutils with lld 17 results in the following link error: cc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wnull-dereference -Wimplicit-fallthrough -Werror -Wunused -Wextra -D_FORTIFY_SOURCE=3 -O2 -pipe -I/usr/local/include -I/usr/local/share/gnulib/lib -Wno-error -Wno-format-nonliteral -Wno-null-dereference -Wno-unused-value -DFREEBSD_HAS_MEMPCPY -fstack-protector-strong -fno-strict-aliasing /usr/local/lib/libargp.so /usr/local/lib/libintl.so -fstack-protector-strong -Wl,--build-id -o libelf.so -shared -Wl,-z,defs -Wl,-z,relro -o libelf.so \ -Wl,--soname,libelf.so.1 \ -Wl,--version-script,libelf.map,--no-undefined \ -Wl,--whole-archive libelf_pic.a -Wl,--no-whole-archive \ ../lib/libeu.a -lz ld: error: version script assignment of 'ELFUTILS_1.0' to symbol 'elf_scncnt' failed: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) Upstream removed the symbol which apparently was never implemented in: . I tried adding this via PATCH_SITES and PATCHFILES, but it looks like the ports framework chokes on URLs with ? in them, so I'm adding a regular patch file in devel/elfutils/files/patch-libelf_libelf.map file instead. PR: 273998 Approved by: maintainer timeout (2 weeks) MFH: 2023Q4 --- devel/elfutils/files/patch-libelf_libelf.map | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/devel/elfutils/files/patch-libelf_libelf.map b/devel/elfutils/files/patch-libelf_libelf.map new file mode 100644 index 000000000000..1a5248c57540 --- /dev/null +++ b/devel/elfutils/files/patch-libelf_libelf.map @@ -0,0 +1,10 @@ +--- libelf/libelf.map.orig 2022-04-25 20:56:39 UTC ++++ libelf/libelf.map +@@ -50,7 +50,6 @@ ELFUTILS_1.0 { + elf_rand; + elf_rawdata; + elf_rawfile; +- elf_scncnt; + elf_strptr; + elf_update; + elf_version;