http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37109

--- Comment #12 from Thorsten Glaser <tg at mirbsd dot org> 2011-04-30 15:20:08 
UTC ---
(In reply to comment #11)

> It will be an issue, but I got the segfaults even with such a file, so I think
> the problem is more fundamental than that.

OK, I’ll try.

> What you should do is make system-linux-m68k.ads a clone of e.g.

I’ve cloned system.ads and made changes while looking at i386, mipseb, armeb
and macppc – let’s see how it goes from there.

> system-linux-ppc.ads (both big-endian 32-bitters), set the ZCX variables to
> false, and disable stack check probes.  Then update gcc-interface/Makefile.in
> with a case that matches m68k-linux and does what other linux targets do, but
> selecting system-linux-m68k.ads and setting EH_MECHANISM= (the empty string). 
> This enables SJLJ EH which is simpler and adequate for initial bootstrap.  
> Once
> gnat works on m68k you can try enabling ZCX EH (which will need dwarf2
> unwinding).

Will do if that fails. Thanks for the ideas.

> (I can't post a patch due to delays at the FSF wrt my employer's disclaimer.)

That’s luckily no problem for me, I have papers with the FSF standing,
even explicitly for GCC already.

Reply via email to