Date: Sun, 19 Jun 2016 22:14:22 +0200 From: Michelle Sullivan <michelle@sorbs.net> To: Gerald Pfeifer <gerald@pfeifer.com>, Dimitry Andric <dim@FreeBSD.org> Cc: Michael Reifenberger <mr@freebsd.org>, FreeBSD-ports <freebsd-ports@freebsd.org> Subject: Re: Needing help getting cad/kicad-devel compiled under FreeBSD-9 Message-ID: <5766FD1E.6030603@sorbs.net> In-Reply-To: <alpine.LSU.2.20.1606191347350.2645@anthias.pfeifer.com> References: <CAPEmwasEN2BxDMZ5Pgbodck%2BPpxOS-H54E8qB27-hitRyboXSQ@mail.gmail.com> <A94B9F2A-52B4-4B8D-8712-ED6CEE6C5CE5@FreeBSD.org> <alpine.LSU.2.20.1606191347350.2645@anthias.pfeifer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Gerald Pfeifer wrote: > On Wed, 20 Apr 2016, Dimitry Andric wrote: >> This is because gcc48's <cmath> 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 <math.h> should be imported in >> <tr1/cmath> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5766FD1E.6030603>