https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352
--- Comment #13 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #12) > (In reply to Fabian Groffen from comment #11) > > Is there a patch or WIP somewhere I can try out or attempt to bring > > forwards? > > I need to bring forward my patches to the latest master, will post a link > here when that is done (it won't be soon - mainly because all time is being > soaked up with work on the arm64 port for Apple Silicon). At present, I am > also trying to resolve some of the other (smaller) objective-c issues > preventing us from parsing the system headers. > > > My attempts at porting the 4.2.1 Apple changes to 10.1 seem to have failed > > as I get some weird "byref undeclared" errors whenever a __block var is > > encountered. I must admit I'm not really well versed with GCC's code. > > The apple-4.2.1 branch is, indeed, too far removed from current trunk - and > as far as I understand, we would not be permitted to apply those patches > anyway, since they were not counted as contributed (not present on the FSF > servers). IANAL - but that's how I understand the rules. If we could get in touch with an actual lawyer to review which laws specifically are getting in the way here, that could be helpful. I won my election to the New Hampshire State Legislature so if there's any legislation I could pass to make it legal to apply those patches here in NH, I'd love to know how to write it. > > It would be great to have more than one person working on this - I will post > here when the current WIP is published somewhere.