buildworld failing in lib/libc/db/btree
Dimitry Andric
dim at FreeBSD.org
Thu Jul 21 14:03:57 UTC 2011
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...
More information about the freebsd-current
mailing list