From owner-freebsd-current@FreeBSD.ORG Thu Jun 18 06:25:02 2015 Return-Path: Delivered-To: freebsd-current@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0CC821A9; Thu, 18 Jun 2015 06:25:02 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC13E607; Thu, 18 Jun 2015 06:25:01 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pacyx8 with SMTP id yx8so54091081pac.2; Wed, 17 Jun 2015 23:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=kFyNifHUHsat4NRbOvRPv3KkrNWK5T3FF2BDP1u4olQ=; b=xFVaOP1arNScIroAsypq6Y8xTJ6XyeVRNUpD58ZDF8tRwOsgFEg710e0ZCNPF/mWZE E5BxRKhvDcLF1mSCT/7tfx/ZxjZbbHCQm2JxK/OlFT2Yr19wdGAohkVSwLi95Hypy48p eVkvOWP9G9LpmlHFWEte6KRpEXjnqq5HgpzGJa3fNWRzHsvoka6/FYPbCsXLS9z4pMBN Qrg+RkJFykTTLTC1iEZwukKKKXe4397MjmZUVzoOmhyKoR2/UH8Ex2dpAevaMWXiXFSV XmpFkPsatNIOnhS4CNAqBNfva8RIXkxkuFgzcdFkR3dRs8MVNonZoQRgRrn0MuDajgW3 TuwA== X-Received: by 10.66.184.167 with SMTP id ev7mr18581146pac.48.1434608701276; Wed, 17 Jun 2015 23:25:01 -0700 (PDT) Received: from ?IPv6:2601:602:8001:6c87:d466:b17e:1529:dde7? ([2601:602:8001:6c87:d466:b17e:1529:dde7]) by mx.google.com with ESMTPSA id bx8sm6817097pab.38.2015.06.17.23.24.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jun 2015 23:25:00 -0700 (PDT) Subject: Re: toolchain target Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_1CB374FF-619F-4F4D-89DC-268A8F82C8AB"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5 From: Garrett Cooper In-Reply-To: <55826399.3020801@FreeBSD.org> Date: Wed, 17 Jun 2015 23:24:56 -0700 Cc: "Simon J. Gerraty" , FreeBSD Current , Dimitry Andric Message-Id: <9B006F14-BE36-4981-941D-41F5F4970B40@gmail.com> References: <5581DBD0.3020004@FreeBSD.org> <5581E324.8030000@FreeBSD.org> <22196.1434583597@chaos> <55826399.3020801@FreeBSD.org> To: Andriy Gapon X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 18 Jun 2015 06:25:02 -0000 --Apple-Mail=_1CB374FF-619F-4F4D-89DC-268A8F82C8AB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jun 17, 2015, at 23:22, Andriy Gapon wrote: > On 18/06/2015 02:26, Simon J. Gerraty wrote: >> Andriy Gapon wrote: >>>> Seems like there is some problem with 'toolchain' target in the = latest head. >>>> Output of running `make toolchain TARGET=3Di386` on amd64 system = can be found >>>> here: http://dpaste.com/3RD3C4V >>>>=20 >>>=20 >>> AFAICS, it still worked as of r283188. >>=20 >> There has been a clang update since then. >>=20 >> I just did make -j12 toolchain TARGET=3Di386 ok >> do you have anything interesting in /etc/make.conf? >=20 > Thank you for the hint -- __MAKE_CONF=3D/dev/null SRC_CONF=3D/dev/null = fix the problem. >=20 > Now I am trying to figure out what the problem is. >=20 > My make.conf: > .if defined(CC) > .if ${CC} =3D=3D gcc > CPUTYPE?=3Dk8-sse3 > .else > CPUTYPE?=3Damdfam10 > .endif > .endif > CFLAGS+=3D -O2 -fno-strict-aliasing -pipe > CFLAGS+=3D -fno-omit-frame-pointer > CXXFLAGS+=3D -O2 -fno-strict-aliasing -pipe >=20 > And src.conf: > WITH_DEBUG_FILES=3Dyes > WITH_CTF=3Dyes > WITHOUT_INET6=3DYES > WITHOUT_PROFILE=3DYES > WITHOUT_FORTRAN=3DYES > WITHOUT_I4B=3DYES > WITHOUT_IPFILTER=3DYES > WITHOUT_ATM=3DYES > WITHOUT_IPX=3DYES > WITHOUT_LPR=3Dyes > WITHOUT_ZONEINFO=3Dyes > MALLOC_PRODUCTION=3Dyes > LOADER_BZIP2_SUPPORT=3Dyes > LOADER_FIREWIRE_SUPPORT=3Dyes >=20 >=20 > Looks like my rather innocent manipulations of CFLAGS could be causing = the problem. > Without my make.conf: > mkdep -f .depend -a > = -I/usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/incl= ude > = -I/usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/tool= s/clang/include > = -I/usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/lib/= Support -I. > = -I/usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/../.= ./lib/clang/include > -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS = -D__STDC_CONSTANT_MACROS > -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.0\" > -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.0\" = -DDEFAULT_SYSROOT=3D\"\" > -I/usr/obj/usr/devel/svn2/head/tmp/legacy/usr/include -std=3Dc++11 > -stdlib=3Dlibc++ > = /usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Su= pport/APFloat.cpp > ... >=20 > With my make.conf: > mkdep -f .depend -a -std=3Dc++11 -stdlib=3Dlibc++ > = /usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Su= pport/APFloat.cpp > ... >=20 > All the preprocessor flags (-I, -D) are gone. Oh really=85? This is going to break a _lot_ of peoples=92 custom = make.confs :(... --Apple-Mail=_1CB374FF-619F-4F4D-89DC-268A8F82C8AB 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----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVgmQ5AAoJEMZr5QU6S73eGq0H/2pCn6t1sYpIEI0RLLRrqBZc uWjNDM4TuFLE1qxXUmYBeiWsCYWHgT9wPyhpL18+4W0+xqogd2M5JKf3aM9mExEE alXGV6T9TAV6zKZ+Rub59TOZpkUnnU7pHXwVFwV5kmern3/G3B+EcLb69ygekl2x FlIkIqHK+5E81INMmL+RkGyPSdKpn8wdRGneUjegXm50+JgaYKYtriG5gDodMQi6 a5VQr4nd7/OkOSZcwpQRxXPSGHoM0/QfWBVP/IBUFrdN3JQ4qsyQ5wzts4TuVm24 J6tnkgvpWJKQNPjncTwWpNStxmxa9chMcZ1BG6+v7nN39t/GoDB35zhg+33/1Cc= =VI++ -----END PGP SIGNATURE----- --Apple-Mail=_1CB374FF-619F-4F4D-89DC-268A8F82C8AB--