On Jul 21, 2011, at 8:03 AM, Dimitry Andric wrote:
> On 2011-07-21 15:45, Alexander Best wrote:
> ...
>>> If you are including any path, e.g. CC=/usr/bin/clang, buildworld will
>>> not work. Remove the path and try again.
>>
>> THANKS!
>>
>> ...exactly that was the problem. :) after changing CC/CXX so it doesn't
>> contain
>> a full path, buildworld succeeded!
>
> The problem here was that buildworld builds a bootstrap compiler under
> /usr/obj, but if you specify ${CC} with an absolute path, it fails to
> use it! (The bootstrap compiler has its search paths adjusted, so it
> only looks under /usr/obj for include files, libraries and so on.)
>
> This is actually a problem that needs solving, but it won't happen for
> 9.0, unfortunately...
Yes. And we can't solve it by banning all CC settings with / in them, since it
is perfectly legitimate to build the whole tree with a different compiler that
lives outside the tree...
Warner
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"