From owner-freebsd-ports@freebsd.org Sun Jun 19 21:14:34 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38FA4A77746 for ; Sun, 19 Jun 2016 21:14:34 +0000 (UTC) (envelope-from michelle@sorbs.net) Received: from hades.sorbs.net (mail.sorbs.net [67.231.146.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2BFB417B9; Sun, 19 Jun 2016 21:14:33 +0000 (UTC) (envelope-from michelle@sorbs.net) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from isux.com (firewall.isux.com [213.165.190.213]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0O9100HQ3CKD1T00@hades.sorbs.net>; Sun, 19 Jun 2016 13:21:51 -0700 (PDT) Subject: Re: Needing help getting cad/kicad-devel compiled under FreeBSD-9 To: Gerald Pfeifer , Dimitry Andric Cc: Michael Reifenberger , FreeBSD-ports References: From: Michelle Sullivan Message-id: <5766FD1E.6030603@sorbs.net> Date: Sun, 19 Jun 2016 22:14:22 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 In-reply-to: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 21:14:34 -0000 Gerald Pfeifer wrote: > On Wed, 20 Apr 2016, Dimitry Andric wrote: >> This is because gcc48's header does not define a whole bunch of >> C99 math functions in the std:: namespace. >> and /usr/local/lib/gcc48/include/c++/x86_64-portbld-freebsd9.3/bits/c++config.h >> has: >> >> /* Define if C99 functions or macros in should be imported in >> in namespace std::tr1. */ >> /* #undef _GLIBCXX_USE_C99_MATH_TR1 */ > I verified that current versions of GCC on FreeBSD 10.3 have > this on... > >> It looks like this file is generated at build time, so something in >> gcc's configure scripts is turning off the "C99_MATH_TR1" support. > ...I believe since FreeBSD 10 has better libc support for the long > math functions, so our best course of action (apart from counting > down those months that FreeBSD 9 still has) is seeing that we can > finally update lang/gcc from GCC 4.8 to at least 4.9, if not later. > Would be good but don't see it happening. -- Michelle Sullivan http://www.mhix.org/