Date: Mon, 7 Feb 2011 18:54:54 +0100 From: Roman Divacky <rdivacky@freebsd.org> To: Gerald Pfeifer <gerald@pfeifer.com> Cc: "Pedro F. Giffuni" <giffunip@yahoo.com>, David Schultz <das@freebsd.org>, freebsd-toolchain@freebsd.org Subject: Re: -fno-math-errno by default Message-ID: <20110207175454.GA52746@freebsd.org> In-Reply-To: <alpine.LNX.2.00.1102062007490.8943@gerinyyl> References: <alpine.LNX.2.00.1102062007490.8943@gerinyyl>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110207175454.GA52746>