On Fri, Sep 10, 2021 at 09:35:02AM +0900, Jean-Christophe Helary wrote: > > > > On Sep 10, 2021, at 6:07, Alan Third wrote: > > > > On Thu, Sep 09, 2021 at 08:44:47AM +0900, Jean-Christophe Helary wrote: > >> > >> And the third version of the patch you sent produced the same error... :( > >> > >> I have just totally removed brew and macports to remove all the > >> cruft and reinstalled only the packages that I needed (and their > >> dependencies). > > > > What about running > > > > HAVE_MACPORTS="" ./configure > > > > ? > > > > I have no idea if that will work. > > It did. > > :-) OK, at least we have a work-around. Can you try the attached patch. I noticed what I think is a mistake in setting up CFLAGS and LIBS for libgccjit, not just in macOS but generally, so I've fixed that and tidied the rest of the macOS code. -- Alan Third