[Bug 283273] bin/csh: tc.const.h depends on host, not target, headers
Date: Thu, 12 Dec 2024 20:34:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283273
--- Comment #5 from Ed Maste <emaste@freebsd.org> ---
Oh, I see. tc.const.h is being generated in ">>> stage 2.3: build tools" which
does not have the --sysroot set.
From the bin/csh/Makefile:
---
build-tools: gethost
tc.defs.c: gethost
DEPENDOBJS+= 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.
--
You are receiving this mail because:
You are the assignee for the bug.