Date: Thu, 17 Aug 2017 09:16:49 +0200 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Clang crashes on -CURRENT while compiling port Message-ID: <CAGwOe2Y=Z5YePhmdeTAoak24gnesV%2BpD_wM28KvbFbm3P-S1Wg@mail.gmail.com> In-Reply-To: <CAGwOe2a=8oUnhfdZ%2BU_p_kpW7t0umPeUUMQE2nGixhysR9QcpA@mail.gmail.com> References: <CAGwOe2Zxw8J8cPG0MhxC2z07ZjTTV-csGx8aLL2NFRgSvWE=oQ@mail.gmail.com> <CAGwOe2Z6PXC-1zH2-_gBNur_G118LhmQsjdcZLnqdMu44rWpCQ@mail.gmail.com> <CAGwOe2a=8oUnhfdZ%2BU_p_kpW7t0umPeUUMQE2nGixhysR9QcpA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
One of my ports (cad/openvsp) fails to compile in -CURRENT. The port only compiles with gcc on < 12. As part of the debugging I changed to compile with clang. The compiler crashed while compiling the port with the following error: fatal error: error in backend: No open frame c++: error: clang frontend command failed with exit code 70 Compiler version is: freebsd clang version 5.0.0 (brances/release_50 309439) I can send the as_callfunc* upon request. How to reproduce: Change compiler:gcc-c++11-lib to compiler:c++14-lang in port's Makefile Change src/external/glfont2/CMakeLists.txt and add /usr/local/include (for some reason clang doesn't find GL/gl.h while gcc does...) I can open a PR if necessary. Cheers P.S: I don't know if this belongs to freebsd-hackers@ since it is related to -CURRENT or if it belongs to freebsd-ports@
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2Y=Z5YePhmdeTAoak24gnesV%2BpD_wM28KvbFbm3P-S1Wg>