Date: Sun, 11 Dec 2016 19:00:09 +0100 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com> To: Rainer Hurling <rhurlin@gwdg.de> Cc: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: Help with C++, gcc4.9 and libstdc++ Message-ID: <CAGwOe2aHV%2BnysVvb=bYPTVScs0HjNrb=hRdMitRRxS43XmybbQ@mail.gmail.com> In-Reply-To: <CAGwOe2ZPWxDS0mzRXJ_2ddOhHMYpes0UDJAbHKFOrsc4_AFMvQ@mail.gmail.com> References: <CAGwOe2Y2g8W7sP%2BCcSG6qbEn6yevEXquDDYKkN3MapwCvgi-VA@mail.gmail.com> <e016b8bf-8c3a-b8e1-6dae-3aa6f25063a0@gwdg.de> <CAGwOe2ZPWxDS0mzRXJ_2ddOhHMYpes0UDJAbHKFOrsc4_AFMvQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 29, 2016 at 9:28 PM, Fernando Apestegu=C3=ADa <fernando.apesteguia@gmail.com> wrote: > El 29 nov. 2016 18:58, "Rainer Hurling" <rhurlin@gwdg.de> escribi=C3=B3: >> >> Hi Fernando, >> >> Am 29.11.2016 um 17:50 schrieb Fernando Apestegu=C3=ADa: >> > I maintain a port written mostly in C++ (cad/openvsp). >> > >> > This port used to compile fine in 11 and 10.x in both i386 and amd64. >> > Since Nov 22nd I'm receiving a pkg-fallout for this port in 10.1. The >> > port fails with this message: >> > >> > undefined reference to `__cxa_throw_bad_array_new_length' >> > >> > I assume the source of the problem is defaulting to gcc 4.9 in the >> > ports and it seems to be related to libstdc++ >> > >> > I use USES=3Dcompiler:gcc-c++11-lib in the Makefile since some c++11 >> > features are required. Any idea of why this could be failing to link?. >> > What puzzles me is that it compiles fine with gcc 4.9 in 10.2. >> > >> > Thanks in advance. Until that time comes, I would like to send an update but I'm having some problems with it. I need a c++11 lib but I need gcc < 4.9 for the port to compile on 10.1 (in < 10.x it doesn't build due to the lack of certain math functions and in > 10.2 it compiles nicely). I've been playing around with USE_GCC =3D 4.8 to no luck. How can I specify both, gcc 4.8 specifically and still getting all the work behing the gcc-c++11-lib ARG? Thanks in advance. >> >> this also happens with a few other ports, and is described in >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214863 >> >> As far, as I understand, a patch with a workaround will be committed in >> the next time. > > Thanks for the info! > >> >> HTH, >> Rainer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2aHV%2BnysVvb=bYPTVScs0HjNrb=hRdMitRRxS43XmybbQ>