From owner-freebsd-current@FreeBSD.ORG Fri Jun 1 07:17:46 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BEEB1065670 for ; Fri, 1 Jun 2012 07:17:46 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id BF5838FC19 for ; Fri, 1 Jun 2012 07:17:45 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so1621421wgb.31 for ; Fri, 01 Jun 2012 00:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=xyNuwCaXA36o0u9cgzZQ2ln6w6HG+5yvsskaVOgHuZQ=; b=jZydCyLhOaYLNlxiOG43SDroIJ8N0Wwsl8ukYtu8K5GpFM0knFMLKD05GSpFdmjWfq LRgQ3ywjbGwKIa8Nllhtu6k4xLZ+sOXEweAHVQPd0nE/gCQ08PNa5w9/6LK57qSJFJga azC31GtJlX+Gx7LLmNo4/MsI2Jz8mPgDO12sHa4Iq7/hhDvA+1Qk50u0G7cqhyj9tHdy RuIrOs/7bgxnA7sC3Oj4aEmfflNQhlSV2thqUhBYUWPItMZinA48Q4uH/zVUog3nWsGj VJeEVl+SsRrMfhOXibVNnsIq24UBpicfXITAdmLFqcQZGU7I7Sn84sPWGgLBEa+ZW0FA WpMg== MIME-Version: 1.0 Received: by 10.216.211.19 with SMTP id v19mr1447890weo.89.1338535064661; Fri, 01 Jun 2012 00:17:44 -0700 (PDT) Received: by 10.180.24.5 with HTTP; Fri, 1 Jun 2012 00:17:44 -0700 (PDT) In-Reply-To: References: Date: Fri, 1 Jun 2012 03:17:44 -0400 Message-ID: From: "b. f." To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Stephen Montgomery-Smith Subject: Re: Use of C99 extra long double math functions after r236148 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 07:17:46 -0000 > > I do think we should provide something in ports as an interim solution. > > There are other 3rd party applications looking to drop FreeBSD support > > because we are missing APIs that almost all other OS's have. I'm fine > > if the interim lives in ports and that we don't import substandard > > routines into the base. I would even be fine with calling it > > /usr/local/lib/libm_inaccurate.so. However, I do think we need an option. > > > > I think it should be called libm.so. Otherwise we have to do a serious > editing job on the Makefiles/configure scripts. I think that this is as it should be: only those applications that really need to link against such a library should do so, and this should be enforced and checked by the port maintainer. If you call it by the same name you still need to make other changes to ensure that the right library is used, and these other changes can be confusing and lead to problems, as with the openssl and gcc support libraries. Some portable applications already provide convenient variables in their build infrastructure, since the quality, coverage, and location of the math libraries varies on different systems. b.