https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90330
--- Comment #27 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Matt Thompson from comment #26) > (In reply to Iain Sandoe from comment #25) > > > > > Oh, yes. I was thinking of things we'll be building with this new GCC. I > > > just wish I could figure out the build-with-clang issue. It's like it's > > > missing some C++ library in its link line: > > > > build with clang should (does for me) work :) > > Lucky you. :) My laptop and gcc have some sort of shining thing going on. I > can't build gcc with Spack either. I will (later) repeat the exercise and paste exactly what I did - the Darwin18 machine is busy building / testing 9.2 bootstrapped with GCC.... .. checking for malformed PATH or things lurking in hash might spring to mind in the presence of such spooks... > > [as an aside, I do wonder where you are getting your GMP, MPFR, MPC and > > (optionally) ISL from ?] - for the record I usually build them in-tree and > > thus they are bootstrapped with the compiler. > > I get those guys by running: > > ./contrib/download_prerequisites > > when I first get the source. Maybe there's a better way? I think a recipe I > found long ago did that, so I've just done the same thing myself as it > seemed to work. That's fine - essentially, you're building them from source and therefore don't need to worry about --with-gmp= configure options etc. For the record, I'm using GMP-6.1.2, MPFR-3.1.6, MPC-1.1.0 and ISL-0.20.