Re: buildworld failing in lib/libc/db/btree

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Thu, 21 Jul 2011 16:03:57 +0200
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...
Received on Thu Jul 21 2011 - 12:03:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC