From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 08:50:19 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 5F533106566C; Wed, 29 Sep 2010 08:50:19 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 11CC18FC08; Wed, 29 Sep 2010 08:50:18 +0000 (UTC) Received: by iwn34 with SMTP id 34so943753iwn.13 for ; Wed, 29 Sep 2010 01:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cHe/GUoLZR9jOfPu1Fsvx5KGs0EY6hwkh3NNeExsSu8=; b=UyAUIw29VoNK/KoaIgeJ+EY+vFmmjA0DbmgpEbMbhiWZBvcoS2cBthWxU8MlWmsAab hr/Y7PGdGEoj2brgGS5nlo/bSjKEuQTowPcUd9ffQwIm6u46jWV23J/M6qKfWsbDDwY8 HRXbGC45BGsYwWJfYWV4zpI6xJypBEqQSy8x8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=t/na1nEvmqUqGeC5tfroZG5Q2O+W1DksJgq3EB255K3lQrbvncbMJpm7uHMQ9ORfRL Ba5AgonjCQD1h9v8vgqWxA4jV4Cap+Etdj39F9EYKlTJqN4i58DqPdvKFpMk+3w7Dvmq OYE2EPAxWKXmYWzhFPz80YID2evq9au6L8tCs= MIME-Version: 1.0 Received: by 10.231.146.134 with SMTP id h6mr1349291ibv.170.1285748758985; Wed, 29 Sep 2010 01:25:58 -0700 (PDT) Received: by 10.231.158.145 with HTTP; Wed, 29 Sep 2010 01:25:58 -0700 (PDT) In-Reply-To: References: <4C99A53E.7060707@FreeBSD.org> <20100929002843.GA5001@oriental.arm.org> <4CA2E00D.3080102@FreeBSD.org> Date: Wed, 29 Sep 2010 10:25:58 +0200 Message-ID: From: Daniel Nebdal To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Renato Botelho , dlt@mebtel.net, Dimitry Andric 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 08:50:19 -0000 On Wed, Sep 29, 2010 at 8:58 AM, Garrett Cooper wrote= : > On Tue, Sep 28, 2010 at 11:43 PM, 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 rathe= r >>> 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? > > Please note your CPUTYPE and CFLAGS (for both those that had a problem > and those that didn't) there might be some evidence in there that > would help to resolve this issue with clang. > Thanks, > -Garrett Works for me with random names; tested with the File::Temp script posted earlier. Amd64 on a Core2-family Xeon. In a make buildenv - environment I have CPUTYPE=3D'', and no CFLAGS set. As for version, err. I csup-ed the code on Sep 24, and VERSION is 'FreeBSD 9.0-CURRENT amd64 900021' . How do you find the r-number anyway? I can grab today's version and see if it still works for me. If it matters, the process was buildworld with gcc, installworld, buildworld with clang, installworld. -- Daniel Nebdal