https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123552
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Keywords| |link-failure
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You need to link against the math library too.
-lm.
