https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196193
Bug ID: 196193
Summary: WITHOUT_CROSS_COMPILER=true use system header files
instead of those from the build root
Product: Base System
Version: 10.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
If WITHOUT_CROSS_COMPILER is false, a clang is built with
-DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\", world is built with it and
everything goes well.
With this flag set to true, a clang is built with -DDEFAULT_SYSROOT=\"\" and
buildword uses it, using for instance the system includes instead of those from
/usr/src, and fails when new include files appear in the source tree.
I didn't investigate if this compiler is a misconfigured first stage one or
already the final one, but in either case there is a problem since even if it
is the second case and this is a feature, it is a much more aggressive shortcut
than what src.conf man page suggests, with serious limitations.
This is the underlying cause of another PR I opened as misc/195503 and may well
be the cause of bin/182170 as well (at least in the case of the me-too comment
there).
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"