From owner-freebsd-current@freebsd.org Tue Mar 29 13:53:49 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 606E2AE1EAD for ; Tue, 29 Mar 2016 13:53:49 +0000 (UTC) (envelope-from mail@eax.me) Received: from relay12.nicmail.ru (relay12.nicmail.ru [195.208.5.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 163D015B6; Tue, 29 Mar 2016 13:53:48 +0000 (UTC) (envelope-from mail@eax.me) Received: from [109.70.25.226] (port=59928 helo=fujitsu) by f06.mail.nic.ru with esmtp (Exim 5.55) (envelope-from ) id 1aku5l-00097n-2f; Tue, 29 Mar 2016 16:53:57 +0300 Received: from [93.174.131.138] (account mail@eax.me HELO fujitsu) by proxy04.mail.nic.ru (Exim 5.55) with id 1aku5Y-0002vo-Ek; Tue, 29 Mar 2016 16:53:44 +0300 Date: Tue, 29 Mar 2016 16:53:18 +0300 From: Aleksander Alekseev To: Dimitry Andric Cc: Gary Jennejohn , Michael Gmelin , 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> <20160329123821.120d8de8@fujitsu> <72586F27-113D-4225-B7AB-A890C9522CD5@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 13:53:49 -0000 > 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/