Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2015 23:53:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196193] WITHOUT_CROSS_COMPILER=true uses system header files instead of those from the build root
Message-ID:  <bug-196193-8-2N44sYpA0g@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196193-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196193-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=196193

Henry Hu <henry.hu.sh@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henry.hu.sh@gmail.com

--- Comment #1 from Henry Hu <henry.hu.sh@gmail.com> ---
This problem has occurred several times, and finally I figured out the reason
by myself. After that, I searched for WITHOUT_CROSS_COMPILER and found this PR.
It's hard for a user to find this PR or a solution of the problem until the
user figured out what's wrong. Because the complexity of the build process and
the misleading name of the option, it's unclear to the user that this option is
the culprit.
WITHOUT_CROSS_COMPILER causes MK_CLANG_BOOTSTRAP=no in src.opts.mk, so the
current clang is used instead. But the name of the option only suggests
something about "cross compiling", which in the common sense is not required if
you are building for the same architecture.
Please add some comments to src.opts.mk, which I guess is the common way for
users to find this option, or just make the option do what its name suggests.

-- 
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-196193-8-2N44sYpA0g>