Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2016 20:16:16 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Aleksander Alekseev <mail@eax.me>
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:  <AC2665D2-CDA5-435E-A543-0D45C850C0E7@FreeBSD.org>
In-Reply-To: <20160329165318.2af443c4@fujitsu>
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> <20160329165318.2af443c4@fujitsu>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_224C84BD-97A6-40F0-99B3-81B58AA994AE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 29 Mar 2016, at 15:53, Aleksander Alekseev <mail@eax.me> wrote:
>=20
>> 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.
>=20
> 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:
>=20
> $ clang --version
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) =
20140512
> Target: x86_64-unknown-freebsd10.2
> Thread model: posix
>=20
> $ cc --version
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) =
20140512
> Target: x86_64-unknown-freebsd10.2
> Thread model: posix
>=20
> 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?

It should not make any difference, at least on my systems it does not.
=46rom what I saw from in other post, you specified the full path to =
clang
in CC, which you should not do for a regular buildworld.

The first stages of buildworld build a copy of clang under /usr/obj, and
the later stages use that, but specifying a full path the compiler
defeats this mechanism.

Note that Bryan Drewery is working on making this better, but for now,
just don't use full paths for CC, CXX and CPP in make.conf.

-Dimitry


--Apple-Mail=_224C84BD-97A6-40F0-99B3-81B58AA994AE
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

iEYEARECAAYFAlb6xnkACgkQsF6jCi4glqOZ0gCfRezIJPKrSZirg1vHPty8qyIz
SAMAoLQ174Gu1uUmJoZ829tdGEj9Ch6G
=6fRT
-----END PGP SIGNATURE-----

--Apple-Mail=_224C84BD-97A6-40F0-99B3-81B58AA994AE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC2665D2-CDA5-435E-A543-0D45C850C0E7>