"Must use SJLJ exceptions" error
Blair Burtan
info@northernlightstactical.com
Wed Jul 31 14:39:00 GMT 2013
Here's the section of the code. The thing is that I'm not seeing where I
might be able to configure this in CT-NG. I'm working with the stock GCC.
#ifdef CONFIG_SJLJ_EXCEPTIONS
# if CONFIG_SJLJ_EXCEPTIONS == 1
# define USING_SJLJ_EXCEPTIONS 1
# endif
# if CONFIG_SJLJ_EXCEPTIONS == 0
# define USING_SJLJ_EXCEPTIONS 0
# if !defined(EH_RETURN_DATA_REGNO)
#error "EH_RETURN_DATA_REGNO required"
# endif
# if ! (defined(TARGET_UNWIND_INFO) || DWARF2_UNWIND_INFO)
#error "{DWARF2,TARGET}_UNWIND_INFO required"
# endif
# if !defined(TARGET_UNWIND_INFO) \
&& !(defined(EH_RETURN_HANDLER_RTX) || defined(HAVE_eh_return))
#error "EH_RETURN_HANDLER_RTX or eh_return required"
# endif
/* Usually the above error checks will have already triggered an
error, but backends may set MUST_USE_SJLJ_EXCEPTIONS for their own
reasons. */
# if MUST_USE_SJLJ_EXCEPTIONS
#error "Must use SJLJ exceptions but configured not to"
# endif
# endif
#else
# define USING_SJLJ_EXCEPTIONS MUST_USE_SJLJ_EXCEPTIONS
#endif
Blair M. Burtan
Northern Lights Tactical
www.northernlightstactical.com
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list