Opened 13 years ago
Closed 13 years ago
#3287 closed Bugs (invalid)
boost trunk doesn't build with gcc 4.4.0
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | Boost 1.40.0 | Component: | Building Boost |
Version: | Boost Release Branch | Severity: | Problem |
Keywords: | Cc: |
Description
boost svn trunk from today doesn't build with gcc 4.4.0 which is current stable gcc release
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<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > > >': ./boost/graph/adjacency_iterator.hpp:53: instantiated from 'boost::adjacency_iterator_generator<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, long unsigned int, boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > > >, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >*, std::vector<boost::detail::sei_<long unsigned int, std::_List_iterator<boost::list_edge<long unsigned int, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > > >, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, long int> >' ./boost/graph/detail/adjacency_list.hpp:2346: instantiated from 'boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> >, boost::no_property, boost::listS>::config' ./boost/graph/detail/adjacency_list.hpp:516: instantiated from 'boost::directed_edges_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> >, boost::no_property, boost::listS>::config>' ./boost/graph/detail/adjacency_list.hpp:1088: instantiated from 'boost::bidirectional_graph_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> >, boost::no_property, boost::listS>::config>' ./boost/graph/detail/adjacency_list.hpp:1164: instantiated from 'boost::bidirectional_graph_helper_with_property<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> >, boost::no_property, boost::listS>::config>' ./boost/graph/detail/adjacency_list.hpp:1489: instantiated from 'boost::adj_list_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> >, boost::no_property, boost::listS>::config, boost::bidirectional_graph_helper_with_property<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> >, boost::no_property, boost::listS>::config> >' ./boost/graph/detail/adjacency_list.hpp:2069: instantiated from 'boost::vec_adj_list_impl<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> >, boost::no_property, boost::listS>::config, boost::bidirectional_graph_helper_with_property<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >, boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> >, boost::no_property, boost::listS>::config> >' ./boost/graph/adjacency_list.hpp:380: instantiated from 'boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' 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<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:30: error: no type named 'edge_descriptor' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:31: error: no type named 'adjacency_iterator' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:32: error: no type named 'out_edge_iterator' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:33: error: no type named 'in_edge_iterator' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:34: error: no type named 'vertex_iterator' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:35: error: no type named 'edge_iterator' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:37: error: no type named 'directed_category' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:38: error: no type named 'edge_parallel_category' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:39: error: no type named 'traversal_category' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:41: error: no type named 'vertices_size_type' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:42: error: no type named 'edges_size_type' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' ./boost/graph/graph_traits.hpp:43: error: no type named 'degree_size_type' in 'class boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, boost::no_property, boost::property<boost::edge_index_t, long unsigned int, boost::property<boost::<unnamed>::edge_cast_t, void* (*)(void*)> > >' libs/python/src/object/inheritance.cpp: In member function '__gnu_cxx::__normal_iterator<const long unsigned int*, std::vector<long unsigned int> > boost::<unnamed>::smart_graph::distances_to(boost::<unnamed>::vertex_t) const': libs/python/src/object/inheritance.cpp:120: error: no matching function for call to 'breadth_first_search(boost::<unnamed>::smart_graph::distances_to(boost::<unnamed>::vertex_t) const::reverse_cast_graph&, boost::<unnamed>::vertex_t&, boost::bgl_named_params<boost::bfs_visitor<boost::distance_recorder<boost::iterator_property_map<__gnu_cxx::__normal_iterator<long unsigned int*, std::vector<long unsigned int> >, boost::vec_adj_list_vertex_id_map<boost::no_property, long unsigned int> >, boost::on_tree_edge> >, boost::graph_visitor_t>)' ...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
Change History (3)
comment:1 by , 13 years ago
Version: | Boost Development Trunk → Boost Release Branch |
---|
comment:2 by , 13 years ago
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.
comment:3 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
The guilty was gcc patch for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14912
Note:
See TracTickets
for help on using tickets.
The same problem occurs on release svn branch.