From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 19:47:53 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 210F41065670; Wed, 29 Sep 2010 19:47:53 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 57B588FC24; Wed, 29 Sep 2010 19:47:52 +0000 (UTC) Received: by wwb17 with SMTP id 17so1544118wwb.31 for ; Wed, 29 Sep 2010 12:47:51 -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=N/2dIwTPJ61OqofHixceyoud8f32Tw2k2UrrtrOxUPw=; b=EYnJHLZ89uZeEaPNJCiRTgzjX0WG/IrE7aGakMYZm8WePkq+dSgv48MYzZ+CBOIKok 8oDAFIO1MAsOjjfxGScEj3ZnHMR4lMOkCbm2fww01ZcPivImnHRHmGOLXw1lVWvalKeW bn9AqoZfJG3rtwcp8At1+JmRlHwhs1TusyVBg= 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=J4ij/8jyI+a53OEKJxkyBGDeap1su0tX6mItIYuC6TDiQLvyrzeKC6lrtHqb7pqsle I8d72xh4hSiwvPbiSLyFd/fTjRvbUgHH0JzYRTNnSr3+erjfqnSzfoQur46ClhMcRkMd mfE641ovXPvkB1Gz+4nBEPzU+JNip5/GITIl8= Received: by 10.216.159.213 with SMTP id s63mr2976848wek.78.1285789670697; Wed, 29 Sep 2010 12:47:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.181.142 with HTTP; Wed, 29 Sep 2010 12:47:30 -0700 (PDT) In-Reply-To: <4CA394EB.7090902@FreeBSD.org> References: <4C99A53E.7060707@FreeBSD.org> <20100929002843.GA5001@oriental.arm.org> <4CA2E00D.3080102@FreeBSD.org> <4CA3244D.7030907@FreeBSD.org> <20100929155659.GA82433@oriental.arm.org> <20100929173158.GA73653@freebsd.org> <20100929174434.GA75072@freebsd.org> <4CA394EB.7090902@FreeBSD.org> From: Renato Botelho Date: Wed, 29 Sep 2010 16:47:30 -0300 Message-ID: To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Roman Divacky , Derek Tattersall , 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 19:47:53 -0000 On Wed, Sep 29, 2010 at 4:35 PM, Dimitry Andric 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