Re: Need some help with ports and rebuilding the world

From: Aleksander Alekseev <mail_at_eax.me>
Date: Tue, 29 Mar 2016 16:53:18 +0300
> 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/
Received on Tue Mar 29 2016 - 11:53:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC