Source: boost1.40
Version: 1.40.0-5
Severity: serious
boost1.40 fails to build on some architctures, presumably due to the
switch to gcc 4.4.
Here's some snippets from the build log on hppa:
[...]
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -g
-D_REENTRANT -mlong-calls -DBOOST_SP_USE_PTHREADS -pthread -fPIC
-DBOOST_ALL_NO_LIB=1 -DBOOST_GRAPH_DYN_LINK=1 -DBOOST_GRAPH_NO_LIB=1 -DNDEBUG
-I"." -I"/usr/lib/lam/include" -I"libs/graph_parallel/src" -c -o
"bin.v2/libs/graph_parallel/build/gcc-4.4.2/release/debug-symbols-on/threading-multi/mpi_process_group.o"
"libs/graph_parallel/src/mpi_process_group.cpp"
In file included from ./boost/graph/distributed/mpi_process_group.hpp:807,
from libs/graph_parallel/src/mpi_process_group.cpp:13:
./boost/graph/distributed/detail/mpi_process_group.ipp: In function 'int
boost::graph::distributed::receive(const
boost::graph::distributed::mpi_process_group&, int, int, T&)':
./boost/graph/distributed/detail/mpi_process_group.ipp:722: error: 'stderr' was
not declared in this scope
./boost/graph/distributed/detail/mpi_process_group.ipp:724: error: there are no
arguments to 'fprintf' that depend on a template parameter, so a declaration of
'fprintf' must be available
./boost/graph/distributed/detail/mpi_process_group.ipp:724: note: (if you use
'-fpermissive', G++ will accept your code, but allowing the use of an
undeclared name is deprecated)
./boost/graph/distributed/detail/mpi_process_group.ipp: In function 'typename
boost::enable_if<boost::mpi::is_mpi_datatype<T>, std::pair<int, unsigned int>
>::type boost::graph::distributed::receive(const
boost::graph::distributed::mpi_process_group&, int, int, T*, size_t)':
./boost/graph/distributed/detail/mpi_process_group.ipp:743: error: 'stderr' was
not declared in this scope
./boost/graph/distributed/detail/mpi_process_group.ipp:745: error: there are no
arguments to 'fprintf' that depend on a template parameter, so a declaration of
'fprintf' must be available
./boost/graph/distributed/detail/mpi_process_group.ipp: In function 'int
boost::graph::distributed::receive(const
boost::graph::distributed::mpi_process_group&, int, int, T&) [with T = int]':
./boost/graph/distributed/detail/mpi_process_group.ipp:609: instantiated from
'void
boost::graph::distributed::mpi_process_group::global_trigger_launcher<Type,
Handler>::receive(const boost::graph::distributed::mpi_process_group&, int,
int, boost::graph::parallel::trigger_receive_context, int) const [with Type =
int, Handler = void (*)(const boost::graph::distributed::mpi_process_group&,
int, int, int, bool)]'
libs/graph_parallel/src/mpi_process_group.cpp:1111: instantiated from here
./boost/graph/distributed/detail/mpi_process_group.ipp:722: error: 'fprintf'
was not declared in this scope
./boost/graph/distributed/detail/mpi_process_group.ipp: In function 'int
boost::graph::distributed::receive(const
boost::graph::distributed::mpi_process_group&, int, int, T&) [with T =
boost::graph::distributed::mpi_process_group::outgoing_messages]':
./boost/graph/distributed/detail/mpi_process_group.ipp:609: instantiated from
'void
boost::graph::distributed::mpi_process_group::global_trigger_launcher<Type,
Handler>::receive(const boost::graph::distributed::mpi_process_group&, int,
int, boost::graph::parallel::trigger_receive_context, int) const [with Type =
boost::graph::distributed::mpi_process_group::outgoing_messages, Handler = void
(*)(const boost::graph::distributed::mpi_process_group&, int, int,
boost::graph::distributed::mpi_process_group::outgoing_messages&, bool)]'
libs/graph_parallel/src/mpi_process_group.cpp:1111: instantiated from here
./boost/graph/distributed/detail/mpi_process_group.ipp:722: error: 'fprintf'
was not declared in this scope
...failed gcc.compile.c++
bin.v2/libs/graph_parallel/build/gcc-4.4.2/release/debug-symbols-on/threading-multi/mpi_process_group.o...
gcc.compile.c++
bin.v2/libs/graph_parallel/build/gcc-4.4.2/release/debug-symbols-on/threading-multi/tag_allocator.o
[...]
In file included from ./boost/graph/distributed/mpi_process_group.hpp:807,
from libs/graph_parallel/src/mpi_process_group.cpp:13:
./boost/graph/distributed/detail/mpi_process_group.ipp: In function 'int
boost::graph::distributed::receive(const
boost::graph::distributed::mpi_process_group&, int, int, T&)':
./boost/graph/distributed/detail/mpi_process_group.ipp:722: error: 'stderr' was
not declared in this scope
./boost/graph/distributed/detail/mpi_process_group.ipp:724: error: there are no
arguments to 'fprintf' that depend on a template parameter, so a declaration of
'fprintf' must be available
./boost/graph/distributed/detail/mpi_process_group.ipp:724: note: (if you use
'-fpermissive', G++ will accept your code, but allowing the use of an
undeclared name is deprecated)
./boost/graph/distributed/detail/mpi_process_group.ipp: In function 'typename
boost::enable_if<boost::mpi::is_mpi_datatype<T>, std::pair<int, unsigned int>
>::type boost::graph::distributed::receive(const
boost::graph::distributed::mpi_process_group&, int, int, T*, size_t)':
./boost/graph/distributed/detail/mpi_process_group.ipp:743: error: 'stderr' was
not declared in this scope
./boost/graph/distributed/detail/mpi_process_group.ipp:745: error: there are no
arguments to 'fprintf' that depend on a template parameter, so a declaration of
'fprintf' must be available
./boost/graph/distributed/detail/mpi_process_group.ipp: In function 'int
boost::graph::distributed::receive(const
boost::graph::distributed::mpi_process_group&, int, int, T&) [with T = int]':
./boost/graph/distributed/detail/mpi_process_group.ipp:609: instantiated from
'void
boost::graph::distributed::mpi_process_group::global_trigger_launcher<Type,
Handler>::receive(const boost::graph::distributed::mpi_process_group&, int,
int, boost::graph::parallel::trigger_receive_context, int) const [with Type =
int, Handler = void (*)(const boost::graph::distributed::mpi_process_group&,
int, int, int, bool)]'
libs/graph_parallel/src/mpi_process_group.cpp:1111: instantiated from here
./boost/graph/distributed/detail/mpi_process_group.ipp:722: error: 'fprintf'
was not declared in this scope
./boost/graph/distributed/detail/mpi_process_group.ipp: In function 'int
boost::graph::distributed::receive(const
boost::graph::distributed::mpi_process_group&, int, int, T&) [with T =
boost::graph::distributed::mpi_process_group::outgoing_messages]':
./boost/graph/distributed/detail/mpi_process_group.ipp:609: instantiated from
'void
boost::graph::distributed::mpi_process_group::global_trigger_launcher<Type,
Handler>::receive(const boost::graph::distributed::mpi_process_group&, int,
int, boost::graph::parallel::trigger_receive_context, int) const [with Type =
boost::graph::distributed::mpi_process_group::outgoing_messages, Handler = void
(*)(const boost::graph::distributed::mpi_process_group&, int, int,
boost::graph::distributed::mpi_process_group::outgoing_messages&, bool)]'
libs/graph_parallel/src/mpi_process_group.cpp:1111: instantiated from here
./boost/graph/distributed/detail/mpi_process_group.ipp:722: error: 'fprintf'
was not declared in this scope
...failed gcc.compile.c++
bin.v2/libs/graph_parallel/build/gcc-4.4.2/release/debug-symbols-on/link-static/threading-multi/mpi_process_group.o...
gcc.compile.c++
bin.v2/libs/graph_parallel/build/gcc-4.4.2/release/debug-symbols-on/link-static/threading-multi/tag_allocator.o
[...]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]