Need some help with ports and rebuilding the world

Aleksander Alekseev mail at eax.me
Tue Mar 29 13:53:49 UTC 2016


> For some reason, your build does not pick up the __alloc_size defines
> from sys/cdefs.h.  You will have to figure out which cdefs.h your
> build is including, and check whether that is in sync with the rest
> of your source tree.

I removed CC, CXX and CPP lines from /etc/make.conf and it solved a
problem. Still it's weird since cc (used now) and clang (explicitly
specified before) supposed to be the same compiler:

$ clang --version
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.2
Thread model: posix

$ cc --version
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.2
Thread model: posix

In fact cc and clang look like a hardlink to the same file. Any ideas
why one is capable of building the world and second is not?

-- 
Best regards,
Aleksander Alekseev
http://eax.me/


More information about the freebsd-current mailing list