https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105599
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2022-05-13 Ever confirmed|0 |1 --- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> --- gcc version 12.0.1 20220429 (prerelease) [gcc-12-1rc1 revision r12-8321-g621650f64fb6] (GCC) gcc-12-1-darwin mini-07-cat:gcc-git-12 isandoe$ /opt/iains/x86_64-apple-darwin19/gcc-12-1rc1/bin/gcc gcc: fatal error: no input files compilation terminated. $ /opt/iains/x86_64-apple-darwin19/gcc-12-1rc1/bin/g++ ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: error: ld returned 1 exit status So, we have some addition to the command line from the g++ driver that is causing this (the actual reported problem is not significant, the reason is that the command line is not being seen as empty by the darwin driver)