Date: Thu, 17 Aug 2017 17:26:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 221588] clang crashes when compiling cad/openvsp Message-ID: <bug-221588-29464-qJIS3IVTra@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221588-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-221588-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221588 --- Comment #2 from Dimitry Andric <dim@FreeBSD.org> --- So what this test case causes is: fatal error: error in backend: No open frame This happens with most versions of clang that I could test, and is due to t= he following inline assembly: https://sourceforge.net/p/angelscript/code/HEAD/tree/trunk/sdk/angelscript/= source/as_callfunc_x86.cpp#l1454 #ifdef __OPTIMIZE__ // Epilogue "movl %%ebp, %%esp \n" ".cfi_def_cfa_register esp \n" "popl %%ebp \n" ".cfi_adjust_cfa_offset -4 \n" ".cfi_restore ebp \n" #endif Basically, it finds a 'naked' .cfi_restore directive, and it chokes on that= . It is probably possible to work around this by disabling the epilogue part, bu= t I am not familiar with this angelscript stuff at all... We do have a lang/angelscript port, maintained by vg@, maybe he knows how we can work around this problem? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221588-29464-qJIS3IVTra>