Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499028 - sys-devel/libtool: handle the -pthread{,s} options for g++
Summary: sys-devel/libtool: handle the -pthread{,s} options for g++
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-23 11:16 UTC by Samuli Suominen (RETIRED)
Modified: 2023-12-28 01:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2014-01-23 11:16:25 UTC
-pthread gets ignored by libtool using -nostdlib for C++ linking as per:

http://permalink.gmane.org/gmane.comp.gnu.libtool.patches/11704


Causing issues like bug 496810
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-01-23 11:20:28 UTC
I still can't figure out why I can't reproduce the ilmbase -> openexr bug 496810 (and the bugs where it leads to).
Heck, this might have been even fixed already in 2.4.2 I use differently, and the users hitting problem in bug 496810 might have something older.

I'm just saying this bug could be even bogus :-/ Still figuring it out
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-01-26 13:31:34 UTC
This is still the best guess for why people are hitting issues like bug 499300 even though -pthread is clearly visible in the 'libtool: link', more than once
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-01-28 04:14:30 UTC
Likely was bug 499462, Comment #6
As in, binutils revbump 2.24 to -r2 fixed things
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-28 01:08:34 UTC
This ended up being handled in bug 650876.