https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70216

--- Comment #12 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to John Paul Adrian Glaubitz from comment #11)
> > 
> > It's OK to add __builtin_trap to GCC 7.
> > Could you have a look and try the patch in Comment 6?  I don't have so much
> > time for SH stuff these days...
> 
> I will test the patch.
> 
> Will it be enough to just add the patch, rebuild gcc-7 and then use this
> version of gcc-7 to rebuild the kernel? Or do we need to pass extra options
> during the kernel build?

I don't think the patch will be immediately useful for a linux config.  It will
require more work.

Reply via email to