From nobody Sun Jul 23 18:27:20 2023 X-Original-To: dev-commits-src-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 4R8BbX6NvZz4p6Vf; Sun, 23 Jul 2023 18:27:20 +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 4R8BbX3hdlz3hHK; Sun, 23 Jul 2023 18:27:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690136840; 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=OK1ozfHHHyJxvR1xRyOQ4fIqQuoEfQW2FzHaKAzWuz8=; b=M4KOC5dnEGdE5bHxTzf/RMKrEBUPa9p1YRuccxnyyre+DeA7WHaxGbiHq5O+MtKvF1O4UF DIk950bl3RT6St6gNIH/nmH0LROVz8KbDZe7Ar/tognUN8QGzE9/XCWbwDS0fHWQix6PIU P7Vf3Z0xs6OTUWx/rNwvJVL2vC+NnbSJRSi1MmOVUJ1en2olNiOO3wQFpNO/h5k68zvUw7 jWHPAdoTr13L9quLsiYF7QmY6TDWtfKXdOYBy8GUhqFOELvytvlv5piG49WoIX6LTP0HBF qwUmIsXD+lFNryD8ena+1lJdeofp+ebWaVHCwRxXGdqFhOOjVLrZrgeNjuEssw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690136840; 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=OK1ozfHHHyJxvR1xRyOQ4fIqQuoEfQW2FzHaKAzWuz8=; b=NbchqSxIQx3MKq9tTn4Tb/ISAaXGY2SfrGi2Q0odbgGZK4+okRz+7Lfz0wvxX1aY7yksBz OFTvU7yR4RDo/nl+fVgLQ507GEVtif7q9WrNn90BnU+sh3tTctIFyJNmOQfzv/eOs5yq9K 6ZVhbAWW5meOtMcI20SSO1MJSkKPWyC58P5mlEHuEMOHY6dUdar9cdX0gMz/5OCY2Ib0z2 WaCg7CpJ95JhyotuOaQQllJJWjzM4nJ3RnBSN3cPTu24/AlJrYHxwhdXtYRc9mRoQIqCDF 11BejtkigPFEWpPXHwii1FwODkL5bl1BT0k9i6QjZ/YY1W8IcXSnBJ+0Psvbiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690136840; a=rsa-sha256; cv=none; b=tebPLsXKIK5D4zUo7DL3e5eopUAQqChVT7DjtT4kGjLr767RXPgYc8buDEXiUW59DcSC0T ocVOg1gE1aewhu5gWqDx8Z7/FtdvRMo/IaP+l2yzT0MCBXEV212j5wfCkQUbo9/C0jaOjX FoXpzr209CsWGQnWT+TXcZ4ixTNd4jrLtQPGAudVv+BOd6l1HXJwwJVbKrH5MOxmAZJndH fd8LIMRnrW9MQLY2VjgqPdv6lM/QHHOhdlNOn4sDDIJAkzv1ODwfPSpQ2t2xLfS8SpFZzG +GSDgXmQptIFHPj0GJhBIC0GLQQ1OpDWZhC05vnkgGrVTiDYaAOf8oJEOdbQ3Q== 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 4R8BbX2G0KzmfG; Sun, 23 Jul 2023 18:27:20 +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 36NIRKIt058966; Sun, 23 Jul 2023 18:27:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NIRKx9058965; Sun, 23 Jul 2023 18:27:20 GMT (envelope-from git) Date: Sun, 23 Jul 2023 18:27:20 GMT Message-Id: <202307231827.36NIRKx9058965@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 254cdd5b2214 - stable/13 - Apply build fix for powerpc64-specific llvm-ar and llvm-nm link error List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-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: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 254cdd5b2214112fb78462919433024589b2bcac Auto-Submitted: auto-generated The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=254cdd5b2214112fb78462919433024589b2bcac commit 254cdd5b2214112fb78462919433024589b2bcac Author: Dimitry Andric AuthorDate: 2023-07-23 18:26:01 +0000 Commit: Dimitry Andric CommitDate: 2023-07-23 18:26:01 +0000 Apply build fix for powerpc64-specific llvm-ar and llvm-nm link error Only on powerpc64, llvm-ar and llvm-nm could fail to link due to a "undefined symbol: ZSTD_compressBound" error. This does not happen on -CURRENT, so directly apply a specific build fix on stable/13. --- usr.bin/clang/llvm-ar/Makefile | 1 + usr.bin/clang/llvm-nm/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/usr.bin/clang/llvm-ar/Makefile b/usr.bin/clang/llvm-ar/Makefile index 3718248f5de9..dd58fb18c417 100644 --- a/usr.bin/clang/llvm-ar/Makefile +++ b/usr.bin/clang/llvm-ar/Makefile @@ -11,6 +11,7 @@ SRCS+= llvm-ar.cpp CFLAGS.llvm-ar.cpp+= -Dllvm_ar_main=main LIBADD+= z +LIBADD+= zstd LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib diff --git a/usr.bin/clang/llvm-nm/Makefile b/usr.bin/clang/llvm-nm/Makefile index 30071da0e7dc..2c19f02e49de 100644 --- a/usr.bin/clang/llvm-nm/Makefile +++ b/usr.bin/clang/llvm-nm/Makefile @@ -26,6 +26,7 @@ DPSRCS+= ${TGHDRS} CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} LIBADD+= z +LIBADD+= zstd .if ${MK_LLVM_BINUTILS} != "no" LINKS+= ${BINDIR}/llvm-nm ${BINDIR}/nm