https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213428

--- Comment #4 from Mark Millard <mar...@dsl-only.net> ---
(In reply to frf from comment #3)

As I understand buildworld does initially build some programs to execute on the
host under the original operating system version that is running on the host
--to be executed during the build itself. The bootstrap clang itself is/can-be
an example (even if it is built to target a different TARGET_ARCH [cross
build]).

Thus I would not expect the

# rm /usr/include/*

example to work correctly in general. Avoiding /usr/include is specific to
certain (most) stages of buildworld, but not to all of it as I understand.

While most of what buildworld does targets the new operating system version (if
it changed) and the TARGET_ARCH, such is not the case for everything it does.


Notes:

Your examples do not change the TARGET_ARCH. In some respects I'm referencing
structure that is there to allow other alternatives than you are using. The
operating system version's of files can still apply to your case.

Thanks for adding comment #3: I was very confused about the first part of
comment #2 before the extra information.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to