[Bug 213428] make buildworld relies on /usr/include i.e. -nostdinc breaks buildworld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 12 23:25:51 UTC 2016


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

            Bug ID: 213428
           Summary: make buildworld relies on /usr/include i.e. -nostdinc
                    breaks buildworld
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: frf at xocolatl.com

buildworld fails because it relies on /usr/include instead of /usr/src/include.
i.e. buildworld does not rely upon a good source tree, but rather relies upon
/usr/include to be correct for /usr/src. We used to have -nostdinc as a
compiler flag, but the addition of this flag now causes buildworld to fail in
all cases that I tested.
I don't know when this change was made. It could have been many years ago,
and/or with the adoption of llvm, but it is a bug that should be corrected. I
should not need to rely upon /usr/include being clean to make world when I have
a perfectly good /usr/src. For example, I could have a system crash during an
installworld leaving /usr/include in an uncertain state that would then
prohibit me from rebuilding a system. 
This is a regression from past stability that needs to be corrected.

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


More information about the freebsd-bugs mailing list