Subject: [Boost-bugs] [Boost C++ Libraries] #8078: Boost 1.53 fails to build on Slackware 14.0 with gcc 4.7.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-16 14:52:03
#8078: Boost 1.53 fails to build on Slackware 14.0 with gcc 4.7.1
------------------------------+---------------------------------------------
Reporter: gdsotirov@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.53.0
Severity: Problem | Keywords:
------------------------------+---------------------------------------------
I receive the following error when trying to build Boost 1.53.0 for
Slackware 14.0:
gcc.compile.c++ regression/build/bin/gcc-4.7.1/slackbuild/link-
static/library_status.o
"i486-slackware-linux-g++" -ftemplate-depth-128 -march=i486
-mtune=i686 -fno-strict-aliasing -O3 -finline-functions -Wno-inline -Wall
-DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1
-DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I".." -c -o
"regression/build/bin/gcc-4.7.1/slackbuild/link-static/library_status.o"
"regression/src/library_status.cpp"
regression/src/library_status.cpp: In function
'std::list<boost::shared_ptr<boost::tiny_xml::element> >::const_iterator
{anonymous}::find_element(const boost::tiny_xml::element&, const
string&)':
regression/src/library_status.cpp:189:9: error: no matching function for
call to 'find_if(std::list<boost::shared_ptr<boost::tiny_xml::element>
>::const_iterator, std::list<boost::shared_ptr<boost::tiny_xml::element>
>::const_iterator, {anonymous}::find_element(const
boost::tiny_xml::element&, const string&)::element_equal)'
regression/src/library_status.cpp:189:9: note: candidate is:
In file included from /usr/lib/gcc/i486-slackware-
linux/4.7.1/../../../../include/c++/4.7.1/algorithm:63:0,
from ../boost/smart_ptr/shared_ptr.hpp:42,
from ../boost/shared_ptr.hpp:17,
from ../boost/filesystem/path.hpp:29,
from ../boost/filesystem/operations.hpp:25,
from regression/src/library_status.cpp:28:
/usr/lib/gcc/i486-slackware-
linux/4.7.1/../../../../include/c++/4.7.1/bits/stl_algo.h:4481:5: note:
template<class _IIter, class _Predicate> _IIter std::find_if(_IIter,
_IIter, _Predicate)
regression/src/library_status.cpp:189:9: error: template argument for
'template<class _IIter, class _Predicate> _IIter std::find_if(_IIter,
_IIter, _Predicate)' uses local type '{anonymous}::find_element(const
boost::tiny_xml::element&, const string&)::element_equal'
regression/src/library_status.cpp:189:9: error: trying to instantiate
'template<class _IIter, class _Predicate> _IIter std::find_if(_IIter,
_IIter, _Predicate)'
regression/src/library_status.cpp: In function 'const string&
{anonymous}::attribute_value(const boost::tiny_xml::element&, const
string&)':
regression/src/library_status.cpp:223:9: error: no matching function for
call to 'find_if(std::list<boost::tiny_xml::attribute>::const_iterator,
std::list<boost::tiny_xml::attribute>::const_iterator,
{anonymous}::attribute_value(const boost::tiny_xml::element&, const
string&)::attribute_equal)'
regression/src/library_status.cpp:223:9: note: candidate is:
In file included from /usr/lib/gcc/i486-slackware-
linux/4.7.1/../../../../include/c++/4.7.1/algorithm:63:0,
from ../boost/smart_ptr/shared_ptr.hpp:42,
from ../boost/shared_ptr.hpp:17,
from ../boost/filesystem/path.hpp:29,
from ../boost/filesystem/operations.hpp:25,
from regression/src/library_status.cpp:28:
/usr/lib/gcc/i486-slackware-
linux/4.7.1/../../../../include/c++/4.7.1/bits/stl_algo.h:4481:5: note:
template<class _IIter, class _Predicate> _IIter std::find_if(_IIter,
_IIter, _Predicate)
regression/src/library_status.cpp:223:9: error: template argument for
'template<class _IIter, class _Predicate> _IIter std::find_if(_IIter,
_IIter, _Predicate)' uses local type '{anonymous}::attribute_value(const
boost::tiny_xml::element&, const string&)::attribute_equal'
regression/src/library_status.cpp:223:9: error: trying to instantiate
'template<class _IIter, class _Predicate> _IIter std::find_if(_IIter,
_IIter, _Predicate)'
regression/src/library_status.cpp: In function
'std::list<boost::shared_ptr<boost::tiny_xml::element> >::const_iterator
{anonymous}::find_element(const boost::tiny_xml::element&, const
string&)':
regression/src/library_status.cpp:190:5: warning: control reaches end of
non-void function [-Wreturn-type]
In file included from ../boost/filesystem/path_traits.hpp:23:0,
from ../boost/filesystem/path.hpp:25,
from ../boost/filesystem/operations.hpp:25,
from regression/src/library_status.cpp:28:
../boost/system/error_code.hpp: At global scope:
../boost/system/error_code.hpp:214:36: warning:
'boost::system::posix_category' defined but not used [-Wunused-variable]
../boost/system/error_code.hpp:215:36: warning:
'boost::system::errno_ecat' defined but not used [-Wunused-variable]
../boost/system/error_code.hpp:216:36: warning:
'boost::system::native_ecat' defined but not used [-Wunused-variable]
...failed gcc.compile.c++ regression/build/bin/gcc-4.7.1/slackbuild/link-
static/library_status.o...
...skipped <pregression/build/bin/gcc-4.7.1/slackbuild/link-
static>library_status for lack of
<pregression/build/bin/gcc-4.7.1/slackbuild/link-
static>library_status.o...
...skipped <p../dist/bin>library_status for lack of
<pregression/build/bin/gcc-4.7.1/slackbuild/link-static>library_status...
Let me know if I could provide other information, which may help for
resolving the problem.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8078> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC