Date: Thu, 13 Oct 2016 03:00:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 213428] make buildworld relies on /usr/include i.e. -nostdinc breaks buildworld Message-ID: <bug-213428-8-cQ5cyxvyG5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-213428-8@https.bugs.freebsd.org/bugzilla/> References: <bug-213428-8@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=3D213428 --- Comment #4 from Mark Millard <markmi@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 doe= s. Notes: Your examples do not change the TARGET_ARCH. In some respects I'm referenci= ng 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. --=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-213428-8-cQ5cyxvyG5>