From nobody Thu Dec 12 20:25:17 2024 X-Original-To: bugs@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 4Y8P9945xYz5gjSZ for ; Thu, 12 Dec 2024 20:25:17 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y8P991xmyz4FCt for ; Thu, 12 Dec 2024 20:25:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734035117; 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: in-reply-to:in-reply-to:references:references; bh=5J4HkqKxbOOFyRL8m8Pjb/jsjHNAvJiFQyvKNga+2Qk=; b=lpHzCvBIARurT83aBpXTiSOgAagYS7OIrNdkIHl/+PbtXnz30FGt+pINwFYBosdcmuOvEe dGk41qHNaGGGyu3Rsn/w+Pmd9WyB3X1fJi8zMNyVcCK/6aAJ0GuK9jqRgtgLvaw19wcDOJ cXi1MCJrAdrIablEdyRl4PIaexo9infssDZUV0VUdUfb8J0sDXOtB4seRydGg+XcvgtleG HG6I+37rUkJtVkBi9TFSvjpKw5bpGrdRtXxjONBuqPRdYC591gQ4lkK5pzuzLDcZHhcZOS x+mzK5XCTilBrvLH/c/ULlpcJ5e55Tg703gm2SmHc8Sx9b91wdJwY3FqQTxIVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734035117; a=rsa-sha256; cv=none; b=oRObT8WoRDeA24QfEA6tNSUQvSnr5MM9TCJ1b5oOhxvn9dGNHr0CzkYR+spYwlSJ/jiTkc AFnSdg/uuFQmkclRWPDqclBz20Rm8AyAezAjOE5pwYocHO/MSQCSzWL/g9VNy/og1W5cD8 hqx+aAM0b5lnLE+B3hxvncAqSPNartqAn1xsYhRNbVO8D0tENJ6h5a8R8qm6CCviioB/sw ATqqui7Ql+PUvdJQbo9psbrdgUp0MzKpnbr4Pdfm4AprU5q7BZGK5GtJxA7rk8s2q482kn ikhpmpuS1h1f5LhnPMUeRTkodH/frnB+K2H8RFtoCCQ2x6VNTv5NWGxOugdXxw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Y8P991QlGz173t for ; Thu, 12 Dec 2024 20:25:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BCKPHOQ010669 for ; Thu, 12 Dec 2024 20:25:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BCKPHKq010668 for bugs@FreeBSD.org; Thu, 12 Dec 2024 20:25:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 283273] bin/csh: tc.const.h depends on host, not target, headers Date: Thu, 12 Dec 2024 20:25:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283273 --- Comment #4 from Ed Maste --- I'm not sure exactly what's happening here. If I delete all tc.const.h (fi= nd -name tc.const.h -print -delete) followed by `make buildworld` tc.const.h is not generated correctly (for either bin/csh or rescue/rescue). But I think we should be getting the right path via --sysroot in CC. In the buildenv environment I do see CC=3Dcc -target x86_64-unknown-freebsd15.0 --sysroot=3D/usr/obj/.../amd64.a= md64/tmp -B/usr/obj/.../amd64.amd64/tmp/usr/bin I tried deleting all tc.const.h and then running `make buildenv` followed = by `make -C bin/csh` and tc.const.h is indeed generated correctly. --=20 You are receiving this mail because: You are the assignee for the bug.=