From owner-freebsd-toolchain@FreeBSD.ORG Sun Feb 6 19:40:44 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 54FCA1065679 for ; Sun, 6 Feb 2011 19:40:44 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.freebsd.org (Postfix) with SMTP id E52A78FC08 for ; Sun, 6 Feb 2011 19:40:43 +0000 (UTC) Received: (qmail 5574 invoked from network); 6 Feb 2011 19:40:41 -0000 Received: from 2.205.204.203 (HELO ip-2-205-204-203.web.vodafone.de) (2.205.204.203) by relay02.pair.com with SMTP; 6 Feb 2011 19:40:41 -0000 X-pair-Authenticated: 2.205.204.203 Date: Sun, 6 Feb 2011 20:40:41 +0100 (CET) From: Gerald Pfeifer To: freebsd-toolchain@freebsd.org, David Schultz Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: "Pedro F. Giffuni" Subject: -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: Sun, 06 Feb 2011 19:40:44 -0000 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