Boost C++ Libraries: Ticket #3287: boost trunk doesn't build with gcc 4.4.0 https://svn.boost.org/trac10/ticket/3287 <p> boost svn trunk from today doesn't build with gcc 4.4.0 which is current stable gcc release </p> <pre class="wiki">gcc.compile.c++ bin.v2/libs/python/build/gcc-4.4.0/release/debug-symbols-on/inlining-on/link-static/threading-multi/object/inheritance.o "x86_64-pld-linux-g++" -ftemplate-depth-128 -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -fPIC -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.4.0/release/debug-symbols-on/inlining-on/link-static/threading-multi/object/inheritance.o" "libs/python/src/object/inheritance.cpp" In file included from /usr/include/c++/4.4.0/backward/hash_set:59, from ./boost/graph/adjacency_list.hpp:25, from libs/python/src/object/inheritance.cpp:11: /usr/include/c++/4.4.0/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from ./boost/graph/breadth_first_search.hpp:20, from libs/python/src/object/inheritance.cpp:7: ./boost/graph/graph_traits.hpp: In instantiation of 'boost::graph_traits&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt; &gt;': ./boost/graph/adjacency_iterator.hpp:53: instantiated from 'boost::adjacency_iterator_generator&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, long unsigned int, boost::detail::out_edge_iter&lt;__gnu_cxx::__normal_iterator&lt;boost::detail::sei_&lt;long unsigned int, std::_List_iterator&lt;boost::list_edge&lt;long unsigned int, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt; &gt;, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;*, std::vector&lt;boost::detail::sei_&lt;long unsigned int, std::_List_iterator&lt;boost::list_edge&lt;long unsigned int, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt; &gt;, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt; &gt; &gt;, long unsigned int, boost::detail::edge_desc_impl&lt;boost::bidirectional_tag, long unsigned int&gt;, long int&gt; &gt;' ./boost/graph/detail/adjacency_list.hpp:2346: instantiated from 'boost::detail::adj_list_gen&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt;, boost::no_property, boost::listS&gt;::config' ./boost/graph/detail/adjacency_list.hpp:516: instantiated from 'boost::directed_edges_helper&lt;boost::detail::adj_list_gen&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt;, boost::no_property, boost::listS&gt;::config&gt;' ./boost/graph/detail/adjacency_list.hpp:1088: instantiated from 'boost::bidirectional_graph_helper&lt;boost::detail::adj_list_gen&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt;, boost::no_property, boost::listS&gt;::config&gt;' ./boost/graph/detail/adjacency_list.hpp:1164: instantiated from 'boost::bidirectional_graph_helper_with_property&lt;boost::detail::adj_list_gen&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt;, boost::no_property, boost::listS&gt;::config&gt;' ./boost/graph/detail/adjacency_list.hpp:1489: instantiated from 'boost::adj_list_helper&lt;boost::detail::adj_list_gen&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt;, boost::no_property, boost::listS&gt;::config, boost::bidirectional_graph_helper_with_property&lt;boost::detail::adj_list_gen&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt;, boost::no_property, boost::listS&gt;::config&gt; &gt;' ./boost/graph/detail/adjacency_list.hpp:2069: instantiated from 'boost::vec_adj_list_impl&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, boost::detail::adj_list_gen&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt;, boost::no_property, boost::listS&gt;::config, boost::bidirectional_graph_helper_with_property&lt;boost::detail::adj_list_gen&lt;boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt;, boost::no_property, boost::listS&gt;::config&gt; &gt;' ./boost/graph/adjacency_list.hpp:380: instantiated from 'boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' libs/python/src/object/inheritance.cpp:75: instantiated from here ./boost/graph/graph_traits.hpp:29: error: no type named 'vertex_descriptor' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:30: error: no type named 'edge_descriptor' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:31: error: no type named 'adjacency_iterator' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:32: error: no type named 'out_edge_iterator' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:33: error: no type named 'in_edge_iterator' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:34: error: no type named 'vertex_iterator' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:35: error: no type named 'edge_iterator' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:37: error: no type named 'directed_category' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:38: error: no type named 'edge_parallel_category' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:39: error: no type named 'traversal_category' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:41: error: no type named 'vertices_size_type' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:42: error: no type named 'edges_size_type' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' ./boost/graph/graph_traits.hpp:43: error: no type named 'degree_size_type' in 'class boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property&lt;boost::edge_index_t, long unsigned int, boost::property&lt;boost::&lt;unnamed&gt;::edge_cast_t, void* (*)(void*)&gt; &gt; &gt;' libs/python/src/object/inheritance.cpp: In member function '__gnu_cxx::__normal_iterator&lt;const long unsigned int*, std::vector&lt;long unsigned int&gt; &gt; boost::&lt;unnamed&gt;::smart_graph::distances_to(boost::&lt;unnamed&gt;::vertex_t) const': libs/python/src/object/inheritance.cpp:120: error: no matching function for call to 'breadth_first_search(boost::&lt;unnamed&gt;::smart_graph::distances_to(boost::&lt;unnamed&gt;::vertex_t) const::reverse_cast_graph&amp;, boost::&lt;unnamed&gt;::vertex_t&amp;, boost::bgl_named_params&lt;boost::bfs_visitor&lt;boost::distance_recorder&lt;boost::iterator_property_map&lt;__gnu_cxx::__normal_iterator&lt;long unsigned int*, std::vector&lt;long unsigned int&gt; &gt;, boost::vec_adj_list_vertex_id_map&lt;boost::no_property, long unsigned int&gt; &gt;, boost::on_tree_edge&gt; &gt;, boost::graph_visitor_t&gt;)' ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.4.0/release/debug-symbols-on/inlining-on/link-static/threading-multi/object/inheritance.o... gcc.compile.c++ bin.v2/libs/python/build/gcc-4.4.0/release/debug-symbols-on/inlining-on/link-static/threading-multi/object/life_support.o </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3287 Trac 1.4.3 Arkadiusz Miskiewicz <arekm@…> Thu, 23 Jul 2009 20:21:03 GMT version changed https://svn.boost.org/trac10/ticket/3287#comment:1 https://svn.boost.org/trac10/ticket/3287#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost Development Trunk</span> → <span class="trac-field-new">Boost Release Branch</span> </li> </ul> <p> The same problem occurs on release svn branch. </p> Ticket Arkadiusz Miskiewicz <arekm@…> Fri, 24 Jul 2009 06:18:14 GMT <link>https://svn.boost.org/trac10/ticket/3287#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3287#comment:2</guid> <description> <p> Dropping -gdwarf-2 -g2 (both, dropping one of these didn't fix the problem) from compiler command line "fixes" the problem. Tried several times because it's very weird. </p> </description> <category>Ticket</category> </item> <item> <author>Arkadiusz Miskiewicz <arekm@…></author> <pubDate>Sun, 26 Jul 2009 09:39:18 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3287#comment:3 https://svn.boost.org/trac10/ticket/3287#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> The guilty was gcc patch for <a class="ext-link" href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14912"><span class="icon">​</span>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14912</a> </p> Ticket