From owner-freebsd-ports@freebsd.org Sun Jun 19 11:52:43 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 EAD33A7A91A for ; Sun, 19 Jun 2016 11:52:43 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CCCEE1698; Sun, 19 Jun 2016 11:52:43 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from anthias (vie-91-186-158-235.dsl.sil.at [91.186.158.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id C3E4A3F427; Sun, 19 Jun 2016 07:52:41 -0400 (EDT) Date: Sun, 19 Jun 2016 13:52:39 +0200 (CEST) From: Gerald Pfeifer To: Dimitry Andric cc: Michael Reifenberger , FreeBSD-ports Subject: Re: Needing help getting cad/kicad-devel compiled under FreeBSD-9 In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 11:52:44 -0000 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. Gerald