From owner-freebsd-toolchain@FreeBSD.ORG Fri Feb 14 10:40:14 2014 Return-Path: Delivered-To: freebsd-toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 384B61AA for ; Fri, 14 Feb 2014 10:40:14 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D521518FD for ; Fri, 14 Feb 2014 10:40:13 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::b042:effd:2364:14f1] (unknown [IPv6:2001:7b8:3a7:0:b042:effd:2364:14f1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 14EDE5C45; Fri, 14 Feb 2014 11:40:05 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_FF549C5F-4257-405A-AEA3-E99DE95B1D2F"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: LLVM bug WRT temporary files? From: Dimitry Andric In-Reply-To: Date: Fri, 14 Feb 2014 11:39:57 +0100 Message-Id: <40172155-0743-4980-AAF1-2FF8C79A0504@FreeBSD.org> References: <21FB3229-E39C-424C-B18A-DD5932A32885@xcllnt.net> <9DFFC955-D1BB-47CB-9AF9-03A5DC93958A@cl.cam.ac.uk> To: Marcel Moolenaar X-Mailer: Apple Mail (2.1827) Cc: Garrett Cooper , freebsd-toolchain@FreeBSD.org, David Chisnall X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Feb 2014 10:40:14 -0000 --Apple-Mail=_FF549C5F-4257-405A-AEA3-E99DE95B1D2F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 13 Feb 2014, at 19:33, Marcel Moolenaar wrote: >=20 > On Feb 13, 2014, at 9:56 AM, Marcel Moolenaar = wrote: ... >> On Feb 13, 2014, at 9:44 AM, Marcel Moolenaar = wrote: >>=20 >>>=20 >>> On Feb 13, 2014, at 9:42 AM, David Chisnall = wrote: >>>=20 >>>> This looks like a bug, please file an llvm PR. The offending code = seems to be createUniqueEntity() in lib/Support/Unix/Path.inc, which = does... something. Something weird and convoluted that seems to try to = implement mkstemp() / mkdtemp() in an incomprehensible way. >>>=20 >>> Will do. Thanks David, >>=20 >> While filing a LLVM bug, Bugzilla showed 13511 as a dup. That >> bug seems to have been fixed in SVN. >>=20 >> I'll file a FreeBSD PR instead to track the import of that fix. >> Although gcooper@ may have done that already? Garrett? >=20 > I don't seem to be able to file a PR, because the security code > is not accepted. Please remember it instead :-) Unfortunately the PR does not contain the exact revision it was fixed. There was a big cleanup in the file/path management code just after 3.3 was released, so as the PR says, it is gone after that. Since I'm going to import clang 3.4 Real Soon Now, that should fix the issue. -Dimitry --Apple-Mail=_FF549C5F-4257-405A-AEA3-E99DE95B1D2F 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.22 (Darwin) iEYEARECAAYFAlL98oIACgkQsF6jCi4glqN4OgCeOXvxMztK06ZQJw+CJTphMGJG 1JAAoM24/ulGujXdeQD4sI7Zy30Zj7ym =3Nr8 -----END PGP SIGNATURE----- --Apple-Mail=_FF549C5F-4257-405A-AEA3-E99DE95B1D2F--