https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72833
--- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #6 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- [...] > Completely untested patch. > > Based on the gcc-4.9 solaris patch: > just s/solaris/darwin/ > and s/__NORETURN/__dead2/ > > > Could you try a boot-strap with it? In progress. Two comments: * Why the fixincl.tpl change? Is this necessary with upstream autogen or only due to some Ubuntu-local change? Bruce will probably know when he reviews the patch, though. * Your comment /* * Before Mac OS X 10.7 <i386/setjmp.h> doesn't mark longjump noreturn. */ is wrong, however: even the 10.7 <i386/setjmp.h> does lack the annotation, and in 10.8 (as I'd seen in 10.11 and 10.12) the declaration has moved to <setjmp.h> and is properly annotated. I suspect the bypass can just go, even if it does no harm. You can find the 10.8 <setjmp.h> at http://opensource.apple.com/source/Libc/Libc-825.24/include/setjmp.h while the 10.7.5 one (the latest 10.7 update) is at http://opensource.apple.com/source/Libc/Libc-763.13/include/setjmp.h and the corresponding <i386/setjmp.h> at http://opensource.apple.com/source/xnu/xnu-1699.32.7/bsd/i386/setjmp.h Rainer