From nobody Wed Jan 31 20:41:42 2024 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 4TQDTy40Bsz58FbC; Wed, 31 Jan 2024 20:41:42 +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 4TQDTy3CX9z4lgs; Wed, 31 Jan 2024 20:41:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706733702; 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=GWvXFjNgzDQXZNq42k5VilITARsHTFBucnxpCWIlWWg=; b=MKyE1JDClgtSdDrboFpIXDnTWhxZS7G2z4Xfl7d+nh5Dmawy4SCVrXB9qAyG/ddKw3TLJn PnF48K9wKAIqVteGbRnNSg43G2z2Engb61UKv92cGsAKrNvRV0/To35DaacIIKtk8vmDJj 9ECgQklhOPUzG2bdtyQlnzQDjrqdJCcpMYIAirrKf543HduqB8HXDQacrG8eqfkjjqDPVo 5l+pM8Unjeb/EWqoq45K3pfYBo2hiWHgA1EncclSKNkxEhlHkJBXVoGudtqOCq6eVcInB9 nRvilmA3F5An4PnwuqYIU6RMQBuVBw/F2NEkGcjEm/vrQmdRP1md1YehFqUq4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706733702; 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=GWvXFjNgzDQXZNq42k5VilITARsHTFBucnxpCWIlWWg=; b=pbQ7E+a/PEK6Rr4Q1eoxkw/3HhCuL8Hm81ptBAZiGR2Y3nLXhdHkcAsXeOO2a/XVPvy6Dz SXxLFu7Y11bFYPOJOiwIVMXnVVMZnnaJtXB/lg6edmYRs5PA8VF7FrswERPRIYyeqc2Lu7 /GxdyAIxXkNRKfuS9SIg9NtNaB92nhGry9KcyaVvtYse0CacJ69ijXcYwFOU/zCaaMejNL Q/BetrLiSAD1UX9dKTGYP4QOmLSzc0eb0ui9aYd7ya8uuFPy6GUaGwhSuEljQXI3bJF8Ph DAdslHch0s+iO6jNwiTzI6WEIP2PglunSCB3bvmm+oANHUgoPzzzbShvCX7htQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706733702; a=rsa-sha256; cv=none; b=eP9nFdRPrnuvqubhqk0iyzX9L3vovIzFPJUMlVqRy96Yp2+AmVmutsOU9gssLbUBAkql5D dd6HRAwRmx2aHssb2aoUmcNQVmrk14MBNEVTXFcdF1in/RBxiQxX1GmrRpjrr2l1DZty3z btbSjhKNy+EBrzKrtgGEejjFjnBYG36TTV/DAUEv9JNV7LNZj4TuIPIE62JYZd/EjMSuJr AI4UmOUoy4Z1eKNk3V7AxRSYezG7lt1HJDZuGPB511nm7Lx76qYICGPDFuYVfs4NCG5lyd PI5k70OwukvMZryi7zF6CvAcumrXN/WT7W/rI3zvEbzmiu+lu9PUc5dW7V9zqA== 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 4TQDTy2JtszZ1J; Wed, 31 Jan 2024 20:41:42 +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 40VKfgCs080603; Wed, 31 Jan 2024 20:41:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40VKfgE0080600; Wed, 31 Jan 2024 20:41:42 GMT (envelope-from git) Date: Wed, 31 Jan 2024 20:41:42 GMT Message-Id: <202401312041.40VKfgE0080600@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: ed3563b0ac31 - main - csu: add crtbrand.o dependency on sys/param.h 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: ed3563b0ac31d854bf907d4d847ac0195ec9637b Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=ed3563b0ac31d854bf907d4d847ac0195ec9637b commit ed3563b0ac31d854bf907d4d847ac0195ec9637b Author: Ed Maste AuthorDate: 2024-01-12 15:01:49 +0000 Commit: Ed Maste CommitDate: 2024-01-31 20:40:27 +0000 csu: add crtbrand.o dependency on sys/param.h __FreeBSD_version is recorded in *crt1.o and crti.o via crtbrand.o. Add an explicit dependency to pick up __FreeBSD_version bumps. Additional changes are required to fully plumb *crt1.o dependencies through the build. Reported by: bapt Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43417 --- lib/csu/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/csu/Makefile.inc b/lib/csu/Makefile.inc index 55aaf589f48f..1509a1ece2c3 100644 --- a/lib/csu/Makefile.inc +++ b/lib/csu/Makefile.inc @@ -55,6 +55,9 @@ Scrt1_c.o: ${CRT1SRC} Scrt1.o: Scrt1_c.o ${CRT1OBJS} ${CRT1OBJ} ${LD} ${_LDFLAGS} -o ${.TARGET} -r ${.ALLSRC:M*.o} +# __FreeBSD_version is recorded in crt1.o et al via crtbrand. +crtbrand.o: ${SRCTOP}/sys/sys/param.h + crtbegin.o: crtbegin.c crtbeginS.o: crtbegin.c crtbeginT.o: crtbegin.c