https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65639
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- IMNSHO the GCC behavior is desirable. If you use these flags, you should take care of linking all the needed runtimes, making a weird exception just for one runtime is IMHO very much undesirable. -nostdlib isn't just about libc, but about libgcc, libstdc++ etc., you name it.