On Wed, Sep 29, 2010 at 3:58 AM, Garrett Cooper <gcoo...@freebsd.org> wrote:
> On Tue, Sep 28, 2010 at 11:43 PM, Dimitry Andric <d...@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.  The 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.  Can 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} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
# Don't die on warnings
NO_WERROR=
WERROR=

-- 
Renato Botelho
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to