Date: Wed, 29 Sep 2010 08:25:17 -0300 From: Renato Botelho <rbgarga@gmail.com> To: Garrett Cooper <gcooper@freebsd.org> Cc: dlt@mebtel.net, Dimitry Andric <dim@freebsd.org>, current@freebsd.org Subject: Re: Clang now builds world and kernel, on i386 and amd64 Message-ID: <AANLkTim57x2jBmkj5T_UrfxTFmtyGb72WUrfu=E=%2B131@mail.gmail.com> In-Reply-To: <AANLkTinwUVWvjQHtn=dUiX_cKFrSrNWT3ni=M6PXxS_P@mail.gmail.com> References: <4C99A53E.7060707@FreeBSD.org> <AANLkTimYj1VnVQBLROE94rqPYO7pQyHWfpjiYYZ2ORrX@mail.gmail.com> <AANLkTikm0FrJbOTiRPQhcqM30N-GyOYRBk_8jR-Gq9jF@mail.gmail.com> <20100929002843.GA5001@oriental.arm.org> <4CA2E00D.3080102@FreeBSD.org> <AANLkTinwUVWvjQHtn=dUiX_cKFrSrNWT3ni=M6PXxS_P@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 29, 2010 at 3:58 AM, Garrett Cooper <gcooper@freebsd.org> wrote= : > On Tue, Sep 28, 2010 at 11:43 PM, Dimitry Andric <dim@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim57x2jBmkj5T_UrfxTFmtyGb72WUrfu=E=%2B131>