https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63534
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iains at gcc dot gnu.org --- Comment #17 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #16) > > Created attachment 33733 [details] > > patch to fix darwin bootstrap > > > > With pseudo GOT register we don't need to set GOT register after any jump, > > and therefore don't need "nonlocal_goto_receiver" and > > "builtin_setjmp_receiver" > > for i386. > > > > Please try attached patch (just removing "nonlocal_goto_receiver" and > > "builtin_setjmp_receiver" from i386.md). > > With the patch bootstrap fails with > ld: illegal text reloc in 'std::strstream::strstream()' to 'construction > vtable for std::basic_ostream<char, std::char_traits<char> > >-in-std::strstream' for architecture x86_64 > collect2: error: ld returned 1 exit status It's possible that this ^ is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59888 (investigating)… once we get past this .. I suppose someone should try a bootstrap on i686-darwin .. will try to fit that in later.