https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69079
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can see if adding -Wl,--no-as-needed fixes the problem? If so then there is no bug here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69079
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can see if adding -Wl,--no-as-needed fixes the problem? If so then there is no bug here.