From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 11:24:05 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 035BF1065673; Wed, 29 Sep 2010 11:24:05 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 66DDB8FC19; Wed, 29 Sep 2010 11:24:04 +0000 (UTC) Received: by wyb32 with SMTP id 32so114682wyb.13 for ; Wed, 29 Sep 2010 04:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=I9QKiGuy4G7gBGksKw6zWtNZUulBIRCEqtQCvE98y90=; b=p5NtTIIi09+dIX6DMuD8so3JjffilTe4N/VxKxHEwoAZwgCGbQlr46xFCQGuf5k6Y2 qT7cE7YiiNxHURH4TqnlCUaTbnRYG9Yiku4gHPLxKeMdxGjt2HQ7itl6zofqlpxkY2x9 zryy4otiw3jRcPm7mfM8CVj/55Jhm5oJlHKiw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=efCUhGdl4RKia8mj4OxT+TRnzKoymWaKRtzyfI7kqzTby8SLU9Pt7sfxC0UXeT6Wy+ k5sfshHyfTcX20jiCCaoTDQQx3CgOOcFGLuYRGw8h6jgFTdGaPGv4qJo07mP4HO16p68 MnkuKcUTlZ4N0K0pd2c7sBngPyikhsP2COydU= Received: by 10.227.142.132 with SMTP id q4mr1323091wbu.90.1285759443227; Wed, 29 Sep 2010 04:24:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.181.142 with HTTP; Wed, 29 Sep 2010 04:23:41 -0700 (PDT) In-Reply-To: <4CA2E00D.3080102@FreeBSD.org> References: <4C99A53E.7060707@FreeBSD.org> <20100929002843.GA5001@oriental.arm.org> <4CA2E00D.3080102@FreeBSD.org> From: Renato Botelho Date: Wed, 29 Sep 2010 08:23:41 -0300 Message-ID: To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: dlt@mebtel.net, current@freebsd.org Subject: Re: Clang now builds world and kernel, on i386 and amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 29 Sep 2010 11:24:05 -0000 On Wed, Sep 29, 2010 at 3:43 AM, Dimitry Andric wrote: > On 2010-09-29 02:28, Derek Tattersall wrote: >> >> A test shell script using mktemp (1) works fine on current built with >> clang today. =A0The clang case produces a filename with all "A"'s rather >> than the random letters expected. > > I cannot reproduce this on a system compiled entirely with clang: > > $ mktemp foo.XXXXXX > foo.MyUM5k > $ mktemp foo.XXXXXX > foo.YidMeT > $ mktemp foo.XXXXXX > foo.L27Cfz > $ mktemp foo.XXXXXX > foo.k3haLx > > ... and so on. =A0Can you post that test script, please? > I'm using perl 5.12.2_2 and this is the code to reproduce the problem. I didn't tested with other perl versions because it's a hard task to move to another perl. #!/usr/bin/perl use File::Temp; my ( $fh, $filename ) =3D File::Temp::tempfile(); print "$filename\n"; --=20 Renato Botelho