From owner-freebsd-stable@FreeBSD.ORG Tue Nov 18 23:23:13 2014 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1B9A02D5; Tue, 18 Nov 2014 23:23:13 +0000 (UTC) Received: from tensor.andric.com (unknown [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (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 C81702D3; Tue, 18 Nov 2014 23:23:12 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::609f:bb8:1285:c55d] (unknown [IPv6:2001:7b8:3a7:0:609f:bb8:1285:c55d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4C0B2B80A; Wed, 19 Nov 2014 00:23:08 +0100 (CET) Subject: Re: clang (both 3.3 and 3.4) OOM crashes on HEAD Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_358C5AE6-0D02-41D0-AD0A-4AC148AB351A"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b1 From: Dimitry Andric In-Reply-To: <20141118200529.GC62527@hades.panopticon> Date: Wed, 19 Nov 2014 00:23:02 +0100 Message-Id: <80988786-733F-4633-ADFB-844FD0DF78EE@FreeBSD.org> References: <20140228143606.GD29171@hades.panopticon> <20140228154328.GA13454@hades.panopticon> <20140922231016.GA1301@hades.panopticon> <542105A3.4090507@iki.fi> <98949B82-4109-4628-BE4E-9817D5614D8A@FreeBSD.org> <20140923114447.GB1301@hades.panopticon> <0DFE857D-C33C-49BF-BCCE-16E89DB77AF1@FreeBSD.org> <20141118200529.GC62527@hades.panopticon> To: Dmitry Marakasov X-Mailer: Apple Mail (2.1993) Cc: freebsd-toolchain@freebsd.org, freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 23:23:13 -0000 --Apple-Mail=_358C5AE6-0D02-41D0-AD0A-4AC148AB351A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 18 Nov 2014, at 21:05, Dmitry Marakasov wrote: >=20 > * Dimitry Andric (dim@FreeBSD.org) wrote: >=20 >>>>> This seems to be same issue as in >>>>> http://llvm.org/bugs/show_bug.cgi?id=3D20893 for which there is = patch >>>>> review going >>>>> on = http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140922/23641= 5.html. >>>>>=20 >>>>> Your test case is reproducible with the trunk of llvm/clang and >>>>> the patch in review resolves it. Other workaround is to disable >>>>> generation of debug information by removing -g flag. >>>>=20 >>>> Hm, I had assumed this problem was fixed by importing r203311 from >>>> upstream llvm trunk, in head r263313. But apparently it is not. >>>>=20 >>>> The upstream patch seems to fix your specific test case, but it is = still >>>> in review, so I prefer to wait until it is actually committed, = before I >>>> import it. >>>=20 >>> Which worries me is what we do if it's not reviewd until the = release. We >>> can't just tell users to "remove -g flag", can't we? >>=20 >> I don't expect the review to take very long, but this is how it goes >> with releases. At some point, the release is cut, some bugs don't = get >> fixed, and you will simply have to live with them. >>=20 >> In any case, it entirely depends on how many ports it affects. I = have >> the impression it is just a few particular ports having this issue? >=20 > The bug seem to have been fixed: >=20 > http://llvm.org/bugs/show_bug.cgi?id=3D20893 > http://llvm.org/bugs/show_bug.cgi?id=3D19031 >=20 > This is unfortunately too late for 10.1, but can we possibly have the > fix backported into HEAD and 10-STABLE? Yes, I have already imported the fix in r274442; I will probably get the MFC reminder tomorrow. I'm sorry the fix could not make it into 10.1, but apparently the first version of it was not the proper way of solving the problem. The final version took quite a while, unfortunately. -Dimitry --Apple-Mail=_358C5AE6-0D02-41D0-AD0A-4AC148AB351A 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.26 iEYEARECAAYFAlRr1NoACgkQsF6jCi4glqPg+gCfYfnA2wiRUyiYpXB6R2adQxwR /7AAoMDJVUPsIjtPz9On+Y2RZLXUbYyl =LKwm -----END PGP SIGNATURE----- --Apple-Mail=_358C5AE6-0D02-41D0-AD0A-4AC148AB351A--