Re: g++ -shared -pthread doesn't link -lpthread ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rex Dieter wrote, at 12/08/2010 11:50 PM +9:00:
> I'm trying to find the best solution to:
> https://bugzilla.redhat.com/show_bug.cgi?id=661115
>
> Where a shlib is generated using
> g++ -shared -pthread ...
> but the result is a library with undefined symbols to pthread_create (and
> friends).
>
> Do I really need to explicity link -lpthread , or is there a better
> solution?
>
> -- Rex
>


Maybe this?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
-pthread should have priority over -nostdlib -> CLOSED INVALID

Regards,
Mamoru
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux