From nobody Mon Dec 12 15:36:26 2022 X-Original-To: dev-commits-src-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 4NW5MH2Wdrz4kdQD; Mon, 12 Dec 2022 15:36:27 +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 4NW5MH22ldz3FY0; Mon, 12 Dec 2022 15:36:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670859387; 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=HpcgyaTWFFI+tT9C38IozGH2dM2P6SgP4J51lDUVw0A=; b=mTgaX2xliBjy2+VltmVfhv0k98o/Ge+YYgKptBphMbMuZwicnkbWgO0306WdeLj6V3cOId lzZHb9vmB4vQTlc+7ltXOuIQh6zixTDDB1BgZmx9yJd7Vf0rUT+smm+WgSFqH+aDK2fBMV Sh6ONiKNfDCx4MJsXekyhULU69uh6N2KBVQSseAOBo3QnvSa935BQFdNr82E9q64r0Ost5 vHDB7ngJyZgd9OhHHBJ8uAb22rkzdS8BhLujxJkiTIck8O1Gs6hjIxfUXn20EM8XPwfKhX Ct2+08V/OaQ1YSaYdQf7Tsl2bPYdUwOAg3NUNXnhGYGb6cNRHKpx+46aSJfPDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670859387; 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=HpcgyaTWFFI+tT9C38IozGH2dM2P6SgP4J51lDUVw0A=; b=TzMQNIdxPzMdDelmwZbCxjNs1wM+f2nWe/YRY4IYVCOG17EKeDJRTvxhGsNzpGsvPKt7F9 zVPwklutmWhvQBmdE/1c2SpZA1Gx0fXC/OSYxVWewq3Ck1IVIv7mdpRQoTaUsb1S6T6Vq4 Ry6wd3zKCtnaklrHGaBB+gQQsBKNcchgTI0wo7OcBhN9vUswNzX3/tIh/261BbAahCORBy hRtlAhkjLkyawb+htr6CFMZ6tFeLtqFGslU+xqbnIWHl7Fd3MCoK73NT/yMJC+ApjrExgd GwPZw6OIBhimPJ4bCu9Xw8ihRhzrziuCqqzIIKS5D6+isrXxICwIF0/R5JM9gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670859387; a=rsa-sha256; cv=none; b=MHEru8PMYRwukpPgTi2HiyN+pHfLr1RbLRsKEEAqCX7S7tV1IqeYL0hLv0a4to+vMiC4wj s4cG24x8M7FC2x5WSNZexlbh6+2M4r4MILtPhejIw/WDkYpV3JkBMT5lyGz4e/kvk3SE3D d4yCk23cj2UBbB49pyVNj3Aj547NWlOku+iu5Cwg4lP3pHXwC0XuaB6lKgOWggfPbGt9l1 YFR4+sw+kugaPJd3PL0sWxQIwgevp/ec1yfI+Y9jWknjC6ynGYcUCGxKsDJTacCwRLWGFt lbJqDd90jpu0ygRi4iC8aTiLweSyOPlj155H9j4Qd2iQvp1Rdbb2CS5GpLmlhw== 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 4NW5MH0rWMzfMN; Mon, 12 Dec 2022 15:36:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BCFaQqg057680; Mon, 12 Dec 2022 15:36:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BCFaQQn057679; Mon, 12 Dec 2022 15:36:26 GMT (envelope-from git) Date: Mon, 12 Dec 2022 15:36:26 GMT Message-Id: <202212121536.2BCFaQQn057679@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 86edb11e7491 - main - Always install llvm-objdump as objdump List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 86edb11e7491e657e6c75ef6814867021665c377 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=86edb11e7491e657e6c75ef6814867021665c377 commit 86edb11e7491e657e6c75ef6814867021665c377 Author: Ed Maste AuthorDate: 2022-11-18 20:47:13 +0000 Commit: Ed Maste CommitDate: 2022-12-12 15:36:02 +0000 Always install llvm-objdump as objdump Instead of providing no /usr/bin/objdump when LLVM_BINUTILS is false. PR: 267854 [exp-run] Reviewed by: dim MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37445 --- UPDATING | 8 ++++++++ tools/build/mk/OptionalObsoleteFiles.inc | 7 ++----- usr.bin/clang/llvm-objdump/Makefile | 2 -- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/UPDATING b/UPDATING index 001ec9f6de3a..13007feb15c6 100644 --- a/UPDATING +++ b/UPDATING @@ -27,6 +27,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 14.x IS SLOW: world, or to merely disable the most expensive debugging functionality at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20221212: + llvm-objump is now always installed as objdump. Previously there was + no /usr/bin/objdump unless the WITH_LLVM_BINUTILS knob was used. + + Some LLVM objdump options have a different output format compared to + GNU objdump; readelf is available for inspecting ELF files, and GNU + objdump is available from the devel/binutils port or package. + 20221205: dma(8) has replaced sendmail(8) as the default mta. For people willing to reenable sendmail(8): diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 0802d4340ef9..dacc89f9e78e 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -1182,6 +1182,7 @@ OLD_FILES+=usr/bin/llvm-readobj OLD_FILES+=usr/bin/llvm-size OLD_FILES+=usr/bin/llvm-strings OLD_FILES+=usr/bin/llvm-symbolizer +OLD_FILES+=usr/bin/objdump OLD_FILES+=usr/share/man/man1/llvm-addr2line.1.gz OLD_FILES+=usr/share/man/man1/llvm-ar.1.gz OLD_FILES+=usr/share/man/man1/llvm-nm.1.gz @@ -1192,6 +1193,7 @@ OLD_FILES+=usr/share/man/man1/llvm-readobj.1.gz OLD_FILES+=usr/share/man/man1/llvm-size.1.gz OLD_FILES+=usr/share/man/man1/llvm-strings.1.gz OLD_FILES+=usr/share/man/man1/llvm-symbolizer.1.gz +OLD_FILES+=usr/share/man/man1/objdump.1.gz .endif .if ${MK_CLANG} == no @@ -2098,11 +2100,6 @@ OLD_FILES+=usr/share/man/man8/strfile.8.gz OLD_FILES+=usr/share/man/man8/unstr.8.gz .endif -.if ${MK_LLVM_BINUTILS} == no -OLD_FILES+=usr/bin/objdump -OLD_FILES+=usr/share/man/man1/objdump.1.gz -.endif - .if ${MK_LLVM_COV} == no && !defined(WITH_PORT_BASE_GCC) OLD_FILES+=usr/bin/gcov OLD_FILES+=usr/share/man/man1/gcov.1.gz diff --git a/usr.bin/clang/llvm-objdump/Makefile b/usr.bin/clang/llvm-objdump/Makefile index 443128460f99..44d8c7f82e33 100644 --- a/usr.bin/clang/llvm-objdump/Makefile +++ b/usr.bin/clang/llvm-objdump/Makefile @@ -31,9 +31,7 @@ CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} LIBADD+= z -.if ${MK_LLVM_BINUTILS} != "no" LINKS= ${BINDIR}/llvm-objdump ${BINDIR}/objdump MLINKS= llvm-objdump.1 objdump.1 -.endif .include "../llvm.prog.mk"