From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 11:25:39 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 F1902106564A; Wed, 29 Sep 2010 11:25:39 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 51F618FC19; Wed, 29 Sep 2010 11:25:38 +0000 (UTC) Received: by wwd20 with SMTP id 20so54949wwd.1 for ; Wed, 29 Sep 2010 04:25:38 -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=lJB+aL7AZiLCByNnwc3D7hrrIMYpNDrQP4aGNM9xrT4=; b=uXP7bMp920BW5EXfZjgPm8I6uUr1pD8PYjdWhu0nqdmhzQ0nQCq3bpjtY0wODLbhp8 BsfEJcUY1nMFaIKged8lZV3gCxzxRofc67txo/1dp+d+JDpDk0b0AiNbBUs37ku9Zqnj 2o8yHc8LtsCiByl2vo9B08BcuBuNk9hbhNUIE= 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=lPbQo8aQlKkKPtomKbix0jGeSZibdkc/HucXgl7X5YdZ3JoI8u1un5a2l6+x++tEJ7 QeH4ZepPojXsTB+d3+Fz4OQmdR9YCtWj3/bjkuZHQosXajKyKuqOtgVBQcUMN0yEMTP9 gM7m2crQSzgktj5wYasDP7qboSBTgZU3egu4k= Received: by 10.216.175.83 with SMTP id y61mr1288154wel.30.1285759537870; Wed, 29 Sep 2010 04:25:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.181.142 with HTTP; Wed, 29 Sep 2010 04:25:17 -0700 (PDT) In-Reply-To: References: <4C99A53E.7060707@FreeBSD.org> <20100929002843.GA5001@oriental.arm.org> <4CA2E00D.3080102@FreeBSD.org> From: Renato Botelho Date: Wed, 29 Sep 2010 08:25:17 -0300 Message-ID: To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: dlt@mebtel.net, Dimitry Andric , 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:25:40 -0000 On Wed, Sep 29, 2010 at 3: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. I just have this on my src.conf: .if !defined(CC) || ${CC} =3D=3D "cc" CC=3Dclang .endif .if !defined(CXX) || ${CXX} =3D=3D "c++" CXX=3Dclang++ .endif # Don't die on warnings NO_WERROR=3D WERROR=3D --=20 Renato Botelho