From owner-freebsd-current@freebsd.org Sun Aug 21 01:55:00 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 3EF07BB90FB for ; Sun, 21 Aug 2016 01:55:00 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 01B1D1D6E for ; Sun, 21 Aug 2016 01:54:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::41a6:27ce:f631:1c33] (unknown [IPv6:2001:7b8:3a7:0:41a6:27ce:f631:1c33]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 2374339A7B; Sun, 21 Aug 2016 03:54:56 +0200 (CEST) Subject: Re: Error building 11.0-RC1 from 10.2 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_FB51BC0F-CD1E-4FBA-B8E8-25CD0A8A1D8D"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6.1 From: Dimitry Andric In-Reply-To: <20160820220735.3a61d1e8e81b4e36e36818ae@eternamente.info> Date: Sun, 21 Aug 2016 03:54:48 +0200 Cc: freebsd-current@FreeBSD.org Message-Id: <4BFC6C48-5018-4F75-869C-53678644A0AA@FreeBSD.org> References: <20160820220735.3a61d1e8e81b4e36e36818ae@eternamente.info> To: Nenhum_de_Nos X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Sun, 21 Aug 2016 01:55:00 -0000 --Apple-Mail=_FB51BC0F-CD1E-4FBA-B8E8-25CD0A8A1D8D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 21 Aug 2016, at 03:07, Nenhum_de_Nos = wrote: >=20 > I tried to build 11.0-RC1 from two machines here, my home server and a = vm I installed and updated to 10.2 just to test for the real deal on = that server. Both failed on the same spot: ... > 3. Running pass 'Function Pass Manager' on module = '/usr/src-11.0/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang= /lib/CodeGen/CGBlocks.cpp'. > 4. Running pass 'X86 DAG->DAG Instruction Selection' on function = '@_ZN5clang7CodeGen15CodeGenFunction12EmitCallArgsINS_17FunctionProtoTypeE= EEvRNS0_11CallArgListEPKT_N4llvm14iterator_rangeINS_4Stmt17ConstExprIterat= orEEEPKNS_12FunctionDeclEj' > c++: error: unable to execute command: Segmentation fault (core = dumped) If you are using 10.2-RELEASE, you will not have this fix, which most likely solves the crash you are seeing: https://svnweb.freebsd.org/changeset/base/286033 Please try to apply this to your 10.2 source tree, recompile clang, and then try to build 11.0 again. Alternatively, first upgrade to the latest stable/10, which should also fix it. This costs more time, but is easier to execute. -Dimitry --Apple-Mail=_FB51BC0F-CD1E-4FBA-B8E8-25CD0A8A1D8D 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.30 iEYEARECAAYFAle5Ce8ACgkQsF6jCi4glqMSmACgs/7W99lA/zonROjz3UhW3MSY HDgAniqVHkLVSNh+jty0ynq5mM+iEm7Z =K50f -----END PGP SIGNATURE----- --Apple-Mail=_FB51BC0F-CD1E-4FBA-B8E8-25CD0A8A1D8D--