https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102426
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > It seems like only this feature which libtool gets wrong. > > There are other places where lt_cv_prog_gnu_ld/with_gnu_ld is checked. > So it should not be hard to add this check there. > > I might come up with a patch which adds the check but it might not for a week. No need to hurry: I only bootstrap with gld once a week anyway and can easily backout the patch locally until you've got something ready.