[Bug 283273] bin/csh: tc.const.h depends on host, not target, headers
Date: Thu, 12 Dec 2024 20:25:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283273 --- Comment #4 from Ed Maste <emaste@freebsd.org> --- I'm not sure exactly what's happening here. If I delete all tc.const.h (find <objdir> -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=cc -target x86_64-unknown-freebsd15.0 --sysroot=/usr/obj/.../amd64.amd64/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. -- You are receiving this mail because: You are the assignee for the bug.