Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2016 13:52:39 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        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:  <alpine.LSU.2.20.1606191347350.2645@anthias.pfeifer.com>
In-Reply-To: <A94B9F2A-52B4-4B8D-8712-ED6CEE6C5CE5@FreeBSD.org>
References:  <CAPEmwasEN2BxDMZ5Pgbodck%2BPpxOS-H54E8qB27-hitRyboXSQ@mail.gmail.com> <A94B9F2A-52B4-4B8D-8712-ED6CEE6C5CE5@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Gerald



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.20.1606191347350.2645>