------- 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 program, it is needed by the shared library libgigabase_r.so, ld is
not adding it to the link line which is the correct thing so libgigabase_r.so
needs to link against libpthreads.so to be correctly done. 


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |driver


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31774

Reply via email to