From nobody Sat Nov 25 18:45:41 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 4Sd1513RWkz52Z2B; Sat, 25 Nov 2023 18:45:41 +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 4Sd1512xPfz4F8g; Sat, 25 Nov 2023 18:45:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700937941; 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=k9S4iS47PkKxdNVpOBbtlVebm93WuJX7RhefJGsLg6A=; b=KIiTIQGaDt7K7AA3NCuM70Wf9NX7W2t7oqZPr2tZd2+RnFgPk22cKup4reRSpHn0E2foxJ ptD44SjDDFd/zXWNIU5FZpPM6Lgur/DwuRKyLQh8fOxQmQukujNEb5ICnyvhHVCoIHWPp8 IkgPiyHpw7i8yw5zNszUMFaeT0sUzkqeUBB7Po8new0ens9tJTDzQ3jMXcar7YUo8NftM8 khuIbX3rJEgJVg+V/fUt6BFrNWySCL5JvSb2Hfw10JfKxLSZZHf7imNzSOX7b06Xqykdqu w9TpF3oIRvqc2hm7tPf9TawctTu/F8ien1SBFhZWZsKthH9g7euhiqZ8TawZkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700937941; 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=k9S4iS47PkKxdNVpOBbtlVebm93WuJX7RhefJGsLg6A=; b=gc64OSn3oMfYfsTUXjWUViIorzkgxECWo8vL1c6RU2x9Jt7F8ZC2DVvCCWqhU8+04d9Zvp SFhTNg1BFCuCf7YC69udgvaZGC4z/q0ZXIuKdPmta9fSdzw3BcmRd+0EPyZfw1qLmXyoHU DgMxk0TP2ncT5c9TnZGgPsfEsDW6qL7QPsvPNSSjShefvy8KTlveaaC/fuepLjZ5zBAU1I 7EQX55jjmpn1BsgS2pX0g9eZjy0kHUPXmyPyhFYv6Wu5zEsQcepjoyZhvbE8woE761CynP jSODzFKUbCcdl2dJl8p2Ac3OU/KQJnfxfj9HPMG4lsqy6bRoTWSs1Fo6x7spxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700937941; a=rsa-sha256; cv=none; b=hKkyt2ShkMtZjx2Ab1WxKxos0KhMbXrKFufBp2JOq28R0xwGikTpohkVJxLh9KEIUOkvlh DyquXquYl7bFpTbDZhrlpVHMRFjQDp25d66SPt8bjoGHSetFyofSROdNB6ZUs9ZXbNAPNy p9a04w5kwQLNbfk3W8+b+mjNf4m+VsvNfeYpN3vnvRrfne2+f/HsMeyXKR08ZJzPkxUEFP NNaNYcSD4OEHHIZotfUCQ+A9YUxK+beypWftG0SyjssbL+AVTARmDRPtWWu4EVeyYPl6/U vCn6DsChcPVtJZYWgdykPS356pozrOOuw+Bk4tVpSLVo0ZcSaEvZtRpSwEuOcQ== 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 4Sd1511vhHz8cg; Sat, 25 Nov 2023 18:45:41 +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 3APIjfZW088413; Sat, 25 Nov 2023 18:45:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3APIjfWV088410; Sat, 25 Nov 2023 18:45:41 GMT (envelope-from git) Date: Sat, 25 Nov 2023 18:45:41 GMT Message-Id: <202311251845.3APIjfWV088410@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: 82a2ee4733f0 - main - lang/libhx: 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: 82a2ee4733f06470946894f5e38329274a29057d Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=82a2ee4733f06470946894f5e38329274a29057d commit 82a2ee4733f06470946894f5e38329274a29057d Author: Dimitry Andric AuthorDate: 2023-11-25 17:59:54 +0000 Commit: Dimitry Andric CommitDate: 2023-11-25 18:43:29 +0000 lang/libhx: fix build with lld 17 Building lang/libhx with lld 17 results in the following link errors: ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_basename' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_basename_exact' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_chomp' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_copy_dir' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_copy_file' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dirname' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlclose' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlerror' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlopen' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlsym' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_drand' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_exit' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_ffs' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_fls' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getl' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt_help' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt_help_cb' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt_usage' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt_usage_cb' failed: symbol not defined Since the linker version script is also used for a "rtcheck" library which does not implement any of the symbols, suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2023Q4 --- lang/libhx/files/patch-src_Makefile.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lang/libhx/files/patch-src_Makefile.in b/lang/libhx/files/patch-src_Makefile.in new file mode 100644 index 000000000000..4df051ad5886 --- /dev/null +++ b/lang/libhx/files/patch-src_Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig 2023-11-02 08:30:27 UTC ++++ src/Makefile.in +@@ -94,7 +94,7 @@ host_triplet = @host@ + @WITH_GNU_LD_TRUE@am__append_2 = -Wl,--version-script=${srcdir}/libHX.map + @MINGW32_TRUE@am__append_3 = ux-file.c ux-mmap.c + @MINGW32_TRUE@am__append_4 = -lws2_32 +-@WITH_GNU_LD_TRUE@am__append_5 = -Wl,--version-script=${srcdir}/libHX.map ++@WITH_GNU_LD_TRUE@am__append_5 = -Wl,--version-script=${srcdir}/libHX.map -Wl,--undefined-version + check_PROGRAMS = tc-compile$(EXEEXT) tc-cast$(EXEEXT) \ + tc-deque$(EXEEXT) tc-dir$(EXEEXT) tc-format$(EXEEXT) \ + tc-io$(EXEEXT) tc-list$(EXEEXT) tc-list2$(EXEEXT) \