https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68902

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Not a GCC bug.  This is the same behavior you get with archives (static
libraries) also.
Also GCC does not default to --as-needed; only the modified debian/ubuntu GCC
does.

Also --as-needed is a linker option and not a GCC option.  If you think this is
a linker bug (I don't think it is), then report it to binutils instead
(https://sourceware.org/bugzilla/).

Reply via email to