Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 16:47:30 -0300
From:      Renato Botelho <rbgarga@gmail.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Roman Divacky <rdivacky@freebsd.org>, Derek Tattersall <dlt@mebtel.net>, current@freebsd.org
Subject:   Re: Clang now builds world and kernel, on i386 and amd64
Message-ID:  <AANLkTinpoaCbFzwD-_yO7zU5MGmjSBYZgij-xQL-F6P9@mail.gmail.com>
In-Reply-To: <4CA394EB.7090902@FreeBSD.org>
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> <AANLkTik4k%2Bg8NGwRUp=7bvF2MiHhbBOHmA=Ree_-xRDT@mail.gmail.com> <4CA3244D.7030907@FreeBSD.org> <20100929155659.GA82433@oriental.arm.org> <20100929173158.GA73653@freebsd.org> <AANLkTi=6n0%2BEYsXT5aG_mjFmTK=fUYhwptvW%2Bn4zQMOK@mail.gmail.com> <20100929174434.GA75072@freebsd.org> <AANLkTikPFi3gjXHGzq3hFBSBzA0j%2BWsOAHM-d8SYNWuD@mail.gmail.com> <4CA394EB.7090902@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 29, 2010 at 4:35 PM, Dimitry Andric <dim@freebsd.org> wrote:
> On 2010-09-29 20:22, Renato Botelho wrote:
>>
>> It's using drand48() instead of rand()
>
> ...
>>
>> GCC libc:
>> garga@botelhor:~/testes> =A0./test
>> random value 0.396465
>>
>> clang libc:
>> garga@botelhor:~/testes> =A0./test
>> random value -inf
>
> Renato, Derek, could you please apply the attached patch for ldexp,
> rebuild your libc (with clang), and run your random test program again?
>


Worked perfectly here \o/

Thank you
--=20
Renato Botelho



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinpoaCbFzwD-_yO7zU5MGmjSBYZgij-xQL-F6P9>