[Bug driver/31774] inconsitency between gcc and g++ when linking with --as-needed

2021-08-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31774 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0 Status|UNCONFIRMED

[Bug driver/31774] inconsitency between gcc and g++ when linking with --as-needed

2007-05-01 Thread pva at gentoo dot org
--- Comment #2 from pva at gentoo dot org 2007-05-02 06:56 --- libtool bug was discussed earlier: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460 But this bug is not about libtool. Libtool just expose problem, although it should hide but that is another bug. I may wish to have librar

[Bug driver/31774] inconsitency between gcc and g++ when linking with --as-needed

2007-05-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-01 21:03 --- I think this is really a libtool bug passing -nostdlib to g++, there is no reason why it should be doing that anyways. Also --as-needed is a binutils option, since the pthreads library is not needed by the main prog