https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18206
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |driver --- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to sandra from comment #2) > I was discussing this with Joseph Myers earlier today. He said "There isn't > meant to be a GCC driver -dynamic-linker option." and pointed at > > https://gcc.gnu.org/ml/gcc-patches/2010-12/msg00194.html > > but apparently some backends have broken again since then: > arm/freebsd.h c6x/uclinux-elf.h rs6000/freebsd64.h > > I found through experimentation that nios2-linux-gnu-gcc accepts > -dynamic-linker as a link option without error, but totally ignores it. > Joseph's explanation is that the driver accepts it as -d<letters> but > doesn't check the <letters>. If you try compiling with that option and not > just linking, gcc does diagnose that the <letters> are invalid. > ...so it seems to me, then, that the "driver" component would make more sense here than "target"