From owner-freebsd-current@freebsd.org Tue Mar 29 12:38:40 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 734B3AE05EA for ; Tue, 29 Mar 2016 12:38:40 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38F1017F0 for ; Tue, 29 Mar 2016 12:38:40 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2a03:fc02:2:1:64d6:d499:34de:64d] (unknown [IPv6:2a03:fc02:2:1:64d6:d499:34de:64d]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 1C7E025859; Tue, 29 Mar 2016 14:38:36 +0200 (CEST) Subject: Re: Need some help with ports and rebuilding the world Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B7F21DAA-3C52-4469-91B8-77FF676FA23D"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <20160329123821.120d8de8@fujitsu> Date: Tue, 29 Mar 2016 14:38:28 +0200 Cc: Gary Jennejohn , Michael Gmelin , freebsd-current@freebsd.org Message-Id: <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> To: Aleksander Alekseev X-Mailer: Apple Mail (2.3124) 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 12:38:40 -0000 --Apple-Mail=_B7F21DAA-3C52-4469-91B8-77FF676FA23D Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 29 Mar 2016, at 11:38, Aleksander Alekseev wrote: > > OK, here is what I did so far. > > First I booted with 10.2 kernel (it's always good to have a backup). > Now I have 10.2 kernel and world. After that I installed clang38 using > ports (and discovered a bug #208375 in a process). > >> Don't try to build world with ports clang, it's not yet supported (at >> least not officially, and without jumping through some flaming >> hoops). > > It explains a lot, thanks! > >> Just use the compiler in the base system. > > ... but I got same errors using system clang 3.4.1: > > http://pastebin.com/raw/zz5UGsQV > > I'm at r297373 currently. > > Any ideas? 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. If all else fails, delete your complete source tree, delete everything in /usr/obj, and restart the build. Also, in case settings in make.conf or src.conf are causing trouble, start with an empty make.conf and src.conf first, then add any settings one by one, to find the culprit. -Dimitry --Apple-Mail=_B7F21DAA-3C52-4469-91B8-77FF676FA23D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.29 iEYEARECAAYFAlb6d0sACgkQsF6jCi4glqNOqACfSf6BWOcWq/nIwT4xeYpshugB gccAn0+fQIj99sQea25N7fKeLMbSehLy =Cwi5 -----END PGP SIGNATURE----- --Apple-Mail=_B7F21DAA-3C52-4469-91B8-77FF676FA23D--