Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287638 - dev-libs/boost-1.36.0 removal request (was: fails with gcc-4.4)
Summary: dev-libs/boost-1.36.0 removal request (was: fails with gcc-4.4)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tiziano Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-10-04 16:48 UTC by Justin Lecher
Modified: 2010-04-22 17:27 UTC (History)
4 users (show)

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


Attachments
/tmp/build.log (build.log,26.29 KB, text/plain)
2009-10-04 16:48 UTC, Justin Lecher
Details
/usr/portage/dev-libs/boost/files/1.36.0-gcc4.4.patch (1.36.0-gcc4.4.patch,11.27 KB, text/plain)
2009-10-04 16:49 UTC, Justin Lecher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher gentoo-dev 2009-10-04 16:48:24 UTC
Fails with gcc4.4

                from ./boost/math/special_functions/next.hpp:13,
                 from libs/math/build/../src/tr1/nextafter.cpp:8:
./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
In file included from ./boost/mpl/bind.hpp:27,
                 from ./boost/mpl/lambda.hpp:18,
                 from ./boost/mpl/apply.hpp:25,
                 from ./boost/mpl/aux_/iter_apply.hpp:17,


and similar.
The included patch is the fix from upstream included in 1.37
Comment 1 Justin Lecher gentoo-dev 2009-10-04 16:48:50 UTC
Created attachment 205990 [details]
/tmp/build.log

build.log
Comment 2 Justin Lecher gentoo-dev 2009-10-04 16:49:31 UTC
Created attachment 205991 [details]
/usr/portage/dev-libs/boost/files/1.36.0-gcc4.4.patch

1.36.0-gcc4.4.patch
Comment 3 Michael Weber (RETIRED) gentoo-dev 2009-10-24 11:37:13 UTC
ok, i've found another similar bug with gcc:4.3 compiled boost:0 and openoffice compiled with gcc:4.4, see http://bugs.gentoo.org/show_bug.cgi?id=290346

See http://bugs.gentoo.org/show_bug.cgi?id=289799 for extensive tests with gcc:4.4 and boost versions in portage tree.
Comment 4 Didier Barvaux 2010-01-17 13:58:10 UTC
(In reply to comment #2)
> Created an attachment (id=205991) [details]
> /usr/portage/dev-libs/boost/files/1.36.0-gcc4.4.patch
> 
> 1.36.0-gcc4.4.patch
> 

I tested a modified version of dev-libs/boost-1.36.0-r1 to include this patch and it builds fine with sys-devel/gcc-4.4.2. However, boost testsuite shows some problems: 249 failures with GCC 4.4.2 while "only" 159 failures with GCC 4.3.4.
Comment 5 Dirkjan Ochtman gentoo-dev 2010-03-03 13:15:56 UTC
Does this work with a more recent boost (1.41 or 1.42), or is there some specific reason you need 1.36?
Comment 6 Justin Lecher gentoo-dev 2010-03-03 16:10:56 UTC
I cannot remember why I needed that one.
Comment 7 Samuli Suominen gentoo-dev 2010-03-12 19:41:13 UTC
please act on this, remove or fix
Comment 8 Samuli Suominen gentoo-dev 2010-03-18 10:42:55 UTC
# Samuli Suominen <ssuominen@gentoo.org> (18 Mar 2010)
# Doesn't compile with next stable toolchain.
#
# See bug 287638 for reference.
#
# Removal in 30 days.
~dev-libs/boost-1.36.0
~dev-util/boost-build-1.36.0
Comment 9 Samuli Suominen gentoo-dev 2010-04-22 17:27:19 UTC
and it's gone