From owner-freebsd-toolchain@FreeBSD.ORG Mon Feb 7 17:54:58 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4204B106566C for ; Mon, 7 Feb 2011 17:54:58 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id ED9DF8FC1E for ; Mon, 7 Feb 2011 17:54:57 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id CD3CA9CB0D4; Mon, 7 Feb 2011 18:54:55 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QydWH+ptL6DU; Mon, 7 Feb 2011 18:54:55 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 37C7C9CB12F; Mon, 7 Feb 2011 18:54:55 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id p17HssuH052848; Mon, 7 Feb 2011 18:54:54 +0100 (CET) (envelope-from rdivacky) Date: Mon, 7 Feb 2011 18:54:54 +0100 From: Roman Divacky To: Gerald Pfeifer Message-ID: <20110207175454.GA52746@freebsd.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: "Pedro F. Giffuni" , David Schultz , freebsd-toolchain@freebsd.org Subject: Re: -fno-math-errno by default X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 17:54:58 -0000 should clang follow the same and default to -fno-math-errno on FreeBSD? I guess so but I want to be sure, thank you! roman On Sun, Feb 06, 2011 at 08:40:41PM +0100, Gerald Pfeifer wrote: > Pedro kindly made me aware of > > http://svn.freebsd.org/viewvc/base?view=revision&revision=181538 > > where David made -fno-math-errno the default for GCC with the following > background: > > Our libm doesn't support the SysV mistake of setting errno, and never > has. This will need to be fixed upstream in a more generic way, but > the changes are somewhat more involved. > > Do I understand correctly that libm on all versions of FreeBSD and on > all platforms does not set errno, so this should become the default for > FreeBSD also upstream? > > It would have been nice to report this upstream (and apologies if you > did and it got missed) and I'll try to raise it there, but wanted to > get confirmation first. > > Thanks, > Gerald @FreeBSD.org > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org"