Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339987 - dev-libs/boost: compiling a program with boost::thread under gcc-4.5.1 and c++0x results in compilation failure.
Summary: dev-libs/boost: compiling a program with boost::thread under gcc-4.5.1 and c+...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://svn.boost.org/trac/boost/tick...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 20:59 UTC by DaggyStyle
Modified: 2011-03-13 18:19 UTC (History)
3 users (show)

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 DaggyStyle 2010-10-06 20:59:51 UTC
there is bug in current boost releases which fails compilation whenever boost::thread is used and c++0x is enabled, see original bug report in boost tracker

Reproducible: Always
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-14 22:52:08 UTC
Hi,

can you please submit a full build.log and environment file?

Thanks, Michae
Comment 2 DaggyStyle 2010-10-15 06:00:53 UTC
(In reply to comment #1)
> Hi,
> 
> can you please submit a full build.log and environment file?
> 
> Thanks, Michae
> 
can you be more specific? e.g. what env files?
also, you need the build.log of boost or the one generated by my project.
as far as I can remember, boost compiles well, the problem is when one tries to use boost threads.
Comment 3 Wormo (RETIRED) gentoo-dev 2010-11-06 04:39:29 UTC
Looking at the referenced boost bug, it looks like this fix has been included in the soon-to-be-released boost 1.45. Boost maintainers might want to do a version bump when 1.45 comes out, rather than backporting the fix to the earlier versions in portage.

Meanwhile, have you managed to get a fixed version of boost installed locally to make progress in your own project? For instance, you could set up your own ebuild overlay to experiment with doing a version bump yourself, start with boost 1.44 and then apply that patch.
Comment 4 DaggyStyle 2010-11-06 08:52:12 UTC
(In reply to comment #3)
> Looking at the referenced boost bug, it looks like this fix has been included
> in the soon-to-be-released boost 1.45. Boost maintainers might want to do a
> version bump when 1.45 comes out, rather than backporting the fix to the
> earlier versions in portage.
> 
> Meanwhile, have you managed to get a fixed version of boost installed locally
> to make progress in your own project? For instance, you could set up your own
> ebuild overlay to experiment with doing a version bump yourself, start with
> boost 1.44 and then apply that patch.
> 

latest portage boost is 1.42, I'll try the 1.44 version bump from http://bugs.gentoo.org/show_bug.cgi?id=320039 and bump it into 1.45 when it gos out, hopefully I won't get into problems.
Comment 5 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-11-20 15:39:23 UTC
I resolve this bug as needinfo. Please reopen if you still want from us to process it, and  also submit your "emerge --info" output, "emerge -pv boost" output, full build.log and environment. Thank you for your report.