From nobody Wed Feb 14 17:17:32 2024 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 4TZlHx052lz513n8; Wed, 14 Feb 2024 17:17:33 +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 4TZlHw6mFgz4H4N; Wed, 14 Feb 2024 17:17:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707931052; 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=OdFHm9qUMSh0MA3xzuY4qiKDp/YqwO2GYUObg/+v9ec=; b=eiTPHxYvOANx4pQsIMbihRFnO6bal5Eum8YjM+6EoYpEgzBhpifMDwLf0XUCLAlLvsh/7G APvwJds6Sc3JjmFL2evwW0NRpRcuS5fUFom2UPk6p+zwhEE+y+IuVBLshBhFVYEOoLkCA7 QKB2V6ODi2OKBfyZ9UfKdsv02McPM7uajJwqYdLQazBzstnEsIBo6fo10E8VCSs/mJCkwP XrPMYpXqmrhCjl3jCT4ZareMRDGGDVXtXGgPX/pqme5iApAZSd+nv/5SqbpWHcD4NxD5Id lDkvLKMC5zy2iSciTiQlitnzs7PveGKt5HKIy4WjzQpyb2CksaYrmOwYj1JuAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707931052; a=rsa-sha256; cv=none; b=DjBdE/drwNaL8w719N+OGd90yfPrPl7hnwA7wzGGTsvCzmiB643A4kjaJkXGllgDqHnkcn gT2aRbXYmpYbbNOpXbLlu6IJCc6f793V1oDf5Am6sQwYF4XDFzgGTK28GBCarkl51Q1AOP srtgubcmOeKq2fGu984qqMlwY81DpWsg1aXSJCDGsZE4kuiB7i5tAeN0iFx8XfXqZiq2DB 7ULSNZfyubiybei1d07jiqsZtbNDALUc4/lIRK8X1QJQ82r0mZ3BXhiwWcbkmm5zH9S8l2 TVtSOTxmhQzi3yTUk6gs8hex30YUutgZR2ylvF25eJB0yOhHz4hsgtSItjzGtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707931052; 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=OdFHm9qUMSh0MA3xzuY4qiKDp/YqwO2GYUObg/+v9ec=; b=VLiP8e6+U/LoF65PoY9s77IxWn45vuOZejiMpsik1SuMMljRuxEp49rtG8jR24Z4LaXhQK vZPkOYY/gE4UqHTyuubHC1c+x1udsy7mHOWvLsDyoqzZV/3MEFYj3Hh7/oM31haoiozGE6 /ajWedCdJ+U6UCEIRM9gIdif+tydnGy6yW4BlvElo92sAc4Gm9P7KtcwcbCmzL21R7g3pT brXcBS7QBzF6v74Se18kko60mGVBepQhOTXBahDT5X7ANBY8Z4HqrkiNhvFeZlBW6KOfCv Pf2x01PPaHLqOZYUJ6WjZc/iqGpLyi0sRAmbGZGqUO6Li/A8YbcezjVNUqrXRg== 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 4TZlHw5q4Pz16SC; Wed, 14 Feb 2024 17:17:32 +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 41EHHWPo016447; Wed, 14 Feb 2024 17:17:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41EHHW0K016444; Wed, 14 Feb 2024 17:17:32 GMT (envelope-from git) Date: Wed, 14 Feb 2024 17:17:32 GMT Message-Id: <202402141717.41EHHW0K016444@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 6fc69ba38cfc - stable/13 - csu: add crtbrand.o dependency on sys/param.h 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6fc69ba38cfc9f8fbcd5096a8911e80608bf9c4f Auto-Submitted: auto-generated The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=6fc69ba38cfc9f8fbcd5096a8911e80608bf9c4f commit 6fc69ba38cfc9f8fbcd5096a8911e80608bf9c4f Author: Ed Maste AuthorDate: 2024-01-12 15:01:49 +0000 Commit: Ed Maste CommitDate: 2024-02-14 17:16:35 +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 (cherry picked from commit ed3563b0ac31d854bf907d4d847ac0195ec9637b) (cherry picked from commit 090674a3dbf88956f097a3f7e8d9ca1b33aee4ad) --- lib/csu/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/csu/Makefile.inc b/lib/csu/Makefile.inc index 83926a211eea..906c15c9b4bc 100644 --- a/lib/csu/Makefile.inc +++ b/lib/csu/Makefile.inc @@ -55,6 +55,9 @@ Scrt1.o: Scrt1_c.o ${CRT1OBJS} ${OBJCOPY} --localize-symbol _start1 ${.TARGET} .endif +# __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