Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2016 16:53:18 +0300
From:      Aleksander Alekseev <mail@eax.me>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Gary Jennejohn <gljennjohn@gmail.com>, Michael Gmelin <freebsd@grem.de>, freebsd-current@freebsd.org
Subject:   Re: Need some help with ports and rebuilding the world
Message-ID:  <20160329165318.2af443c4@fujitsu>
In-Reply-To: <72586F27-113D-4225-B7AB-A890C9522CD5@FreeBSD.org>
References:  <20160327234202.178df9a4@fujitsu> <20160327225612.713eaa2a@bsd64.grem.de> <20160328084735.29eff991@fujitsu> <20160328094742.68bc9046@ernst.home> <20160328170031.023f0adb@fujitsu> <E42D3AE7-A444-4514-BF6A-D286A274B147@FreeBSD.org> <20160329123821.120d8de8@fujitsu> <72586F27-113D-4225-B7AB-A890C9522CD5@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160329165318.2af443c4>