Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2024 20:34:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283273] bin/csh: tc.const.h depends on host, not target, headers
Message-ID:  <bug-283273-227-tu3iimRXu6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-283273-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-283273-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283273

--- Comment #5 from Ed Maste <emaste@freebsd.org> ---
Oh, I see. tc.const.h is being generated in ">>> stage 2.3: build tools" wh=
ich
does not have the --sysroot set.

>From the bin/csh/Makefile:
---
build-tools: gethost=20
tc.defs.c: gethost=20

DEPENDOBJS+=3D gethost
gethost: gethost.c sh.err.h tc.const.h sh.h ${BUILD_TOOLS_META}
---
so we build tc.const.h as a dependency of gethost as a stage 2.3 build tool,
but for tc.const.h to be correct we need the target headers from stage 4.1.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283273-227-tu3iimRXu6>