From nobody Mon Dec 13 21:36:08 2021 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 82B8918F2ADE; Mon, 13 Dec 2021 21:36:08 +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 4JCZZJ1syYz3p0v; Mon, 13 Dec 2021 21:36:08 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 208801BDE8; Mon, 13 Dec 2021 21:36:08 +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 1BDLa8ro057747; Mon, 13 Dec 2021 21:36:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BDLa8Qo057745; Mon, 13 Dec 2021 21:36:08 GMT (envelope-from git) Date: Mon, 13 Dec 2021 21:36:08 GMT Message-Id: <202112132136.1BDLa8Qo057745@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: 8deda9734f1c - stable/12 - Apply only the libadd/libnames part of dbf05458e3bd 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/12 X-Git-Reftype: branch X-Git-Commit: 8deda9734f1c54d75b513ec4b3bdcaadecf57d50 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639431368; 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=P7R4MQcfKd5gnE0aBlM9nolV5o7E6I6+a+RV0SKWxdQ=; b=tq7ua0AK4HwpJ82abqebS5GxMNf1IhjoJfKPpEmqOLR60so3mqevjIpOKvppL0LM4OFRlN w7JYhuP/PTrd2W7AoS45AfeWqkUGRr3HrjTJzdiMPRBtk4oAMSA47nCbjHGG7Q02JUxFLc MHFFiGE9XVP15zZP1H3l/37nVo/u5lq+8NohPRIVZArLE2kyMDnetMaPOE+WmCIgeWAD8Z 2rrNPwMzPuH0fO0056P2nxJ2HFFSohxQOsJF7DaS7gP/iJ1SV2UsU+jeDl2oietOuTbssy x35u7acYvRbtY/494Mou8PcgMgvJ4Rn6cV9PiHQ/yuJXAmoDg3houMA+XZcAIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639431368; a=rsa-sha256; cv=none; b=s/wW1h8uJ9Xy8ybKuMvD7/JmeOhYhUI/uSYX21bPb5whiFwPt+RtMqJ2g9XXkD7JX+lk2A y+hKhSLpozxugSPlj9OjD//B0FDV78jrtXCM8F7eK3zizJQuxbusAKT8L1wok9NWU8YFZP lcKTj4kQAdDcjN2rR3+92DxoD1X/G87funrN1C43wWo28GnJwcDTbrLla/Jc7qaAxZwZEv GUwlE6Ba0GWQCPrDl6/jRZZ3yaxqj9AOkRWbh81+j6DISWzFdlDz1PKkGpLkvk02Sdt+S0 FghSK1oRBxqtVbn9zMwykVX3b6rBc3b8YKKcrOcjglY3xZQ5wZKKWzJtyGLd8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=8deda9734f1c54d75b513ec4b3bdcaadecf57d50 commit 8deda9734f1c54d75b513ec4b3bdcaadecf57d50 Author: Dimitry Andric AuthorDate: 2021-12-13 21:35:12 +0000 Commit: Dimitry Andric CommitDate: 2021-12-13 21:35:12 +0000 Apply only the libadd/libnames part of dbf05458e3bd Add libz to the dependencies for libdwarf. Otherwise, building older branches on recent -CURRENT might fail in the cross-tools stage with: ld: error: undefined symbol: uncompress >>> referenced by libdwarf_elf_init.c:233 (/usr/src/contrib/elftoolchain/libdwarf/libdwarf_elf_init.c:233) >>> libdwarf_elf_init.o:(_dwarf_elf_init) in archive /usr/lib/libdwarf.a Direct commit to stable/13, since dbf05458e3bd has other libdwarf changes to support compressed ELF sections, which are more intrusive. --- lib/libdwarf/Makefile | 2 +- share/mk/src.libnames.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libdwarf/Makefile b/lib/libdwarf/Makefile index 03f40cdd85ee..a3ef95b2572a 100644 --- a/lib/libdwarf/Makefile +++ b/lib/libdwarf/Makefile @@ -98,7 +98,7 @@ sys/elf32.h sys/elf64.h sys/elf_common.h: ${SRCTOP}/sys/${.TARGET} .NOMETA mkdir -p ${.OBJDIR}/sys ln -sf ${.ALLSRC} ${.TARGET} -LIBADD+= elf +LIBADD+= elf z SHLIB_MAJOR= 4 diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index 247505978cc1..30191448a9a1 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -318,7 +318,7 @@ _DP_fetch= ssl crypto _DP_fetch= md .endif _DP_execinfo= elf -_DP_dwarf= elf +_DP_dwarf= elf z _DP_dpv= dialog figpar util ncursesw _DP_dialog= ncursesw m _DP_cuse= pthread