https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556
--- Comment #53 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Eric Botcazou from comment #52) > > Yes, that's expected at present. > > a. there's evidently some more EH breakage caused by the > > reorder-and-partition (see 81733) > > b. the libgcc unwinder seems to have some issues even on systems that should > > support it > > c. we need to do some checking on the availability of the kernel call to > > fetch the FDEs and setup the specs accordingly. > > IMO a. and b. are not top priority, we should first restore Ada bootstrap on > recent Darwins with the system unwinder. it would seem that the partitioning is still part of the issue (81733 isn't completely fixed by the patch for 81361). We just don't know what other ways it might manifest. > > -static-libstdc++ is a workaround (actually, all it's really doing is > > overriding the -static-libgcc). > > Yes, -static-libgcc is the problem on Darwin. So, we can hack around the problems with; 1) temporarily disable the partitioning 2) force libSystem ahead of libgcc_eh for Darwin >= 10 - this second one would ideally be for m64 only. will experiment with some specs fixes later.