Date: Mon, 9 Sep 2013 14:37:51 +0100 From: David Chisnall <theraven@FreeBSD.org> To: =?iso-8859-1?Q?Ulrich_Sp=F6rlein?= <uqs@FreeBSD.org> Cc: freebsd-current CURRENT <freebsd-current@FreeBSD.org> Subject: Re: HEADS UP: No gcc by default in -HEAD on platforms where clang is cc Message-ID: <BA5341BD-7FEE-4800-97CA-BBE410447439@FreeBSD.org> In-Reply-To: <20130909132758.GK9030@acme.spoerlein.net> References: <23F19F73-738E-4490-BAE3-590C32FC141C@FreeBSD.org> <20130909132758.GK9030@acme.spoerlein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9 Sep 2013, at 14:27, Ulrich Sp=F6rlein <uqs@FreeBSD.org> wrote: > Case in point, I only recently switched to clang in base and now the > newsbeuter port crashes during startup (yeah, it builds fine). So all > I'm asking for now is: how can I override a random port to be built = with > gcc (either from base or ports, I don't care). And what special > considerations need to be done when the port uses C++. Setting USE_GCC=3Dany to build with any gcc, or USE_GCC=3Dyes to build = with a gcc from ports (they should do the same thing on a no-gcc-in-base = system) For C++ ports, can you check whether the error is from libc++ or clang, = by first building libstdc++ from base and then setting = CXXFLAGS=3D-stdlib=3Dlibstdc++ and LDFLAGS=3D-stdlib=3Dlibstdc++? This = will build it with libstdc++ and if that works then it narrows the issue = down. =20 Also, don't forget to report bugs to the port maintainer... David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA5341BD-7FEE-4800-97CA-BBE410447439>