Boost logo

Boost :

From: Karl Pitrich (pit_at_[hidden])
Date: 2001-10-11 09:15:08


On Thu, 11 Oct 2001, David Abrahams wrote:

> ----- Original Message -----
> From: "Karl Pitrich" <pit_at_[hidden]>
> > i cvs co'd boost, installed ftjam and did try to compile as stated
> > in the docs.
> >
> > the jam thing does'nt seem to even try to build the thread library.
>
> Can you post a description of exactly what you did, and post a copy of the
> output you got?

cvs co boost from sourceforge...
(same rasult when using latest .tar.gz)

pit_at_warp:~/prj/boost >jam -ftools/build/allyourbase.jam -sTOOLS="gcc"

output:

pit_at_warp:~/prj/boost > jam -ftools/build/allyourbase.jam -sTOOLS="gcc"
...found 181 targets...
...using 10 temp targets...
...updating 4 targets...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>c_r
egex_traits.o...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>c_r
egex_traits_common.o...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>cpp
_regex_traits.o...
gcc-C++-action
libs/regex/build/bin/libboost_regex.a/gcc/release/runtime-link-dy
namic/cregex.o
/home/pit/prj/boost/boost/regex.hpp: In function `iterator
boost::re_detail::re_is_set_member (iterator, iterator,
boost::re_detail::re_set_long *, const boost::reg_expression<charT,
traits_type, Allocator> &) [with iterator =
boost::re_detail::mapfile_iterator, charT = char, traits_type =
boost::regex_traits<char>, Allocator = allocator<char>]':
/home/pit/prj/boost/boost/regex/detail/regex_match.hpp:545: instantiated
from
`boost::re_detail::query_match_aux (iterator, iterator,
boost::match_results<ite
rator, Allocator> &, const boost::reg_expression<charT, traits,
Allocator2> &, u
nsigned int, boost::re_detail::_priv_match_data<iterator, Allocator> &,
iterator
 *) [with iterator = boost::re_detail::mapfile_iterator, Allocator =
allocator<c
har>, charT = char, traits = boost::regex_traits<char>, Allocator2 =
allocator<c
har>]'
/home/pit/prj/boost/boost/regex/detail/regex_match.hpp:1093:
instantiated from
 `boost::re_detail::reg_grep2 (Predicate, I, I, const
boost::reg_expression<char
T, traits, Allocator2> &, unsigned int, A2) [with Predicate =
boost::re_detail::
pred4, I = boost::re_detail::mapfile_iterator, charT = char, traits =
boost::reg
ex_traits<char>, A = allocator<char>, A2 = allocator<char>]'
/home/pit/prj/boost/boost/regex/detail/regex_match.hpp:1752:
instantiated from
 `boost::regex_grep (Predicate, iterator, iterator, const
boost::reg_expression<
charT, traits, Allocator2> &, unsigned int) [with Predicate =
boost::re_detail::
pred4, iterator = boost::re_detail::mapfile_iterator, charT = char, traits
= boo
st::regex_traits<char>, Allocator = allocator<char>]'
libs/regex/build/../src/cregex.cpp:387: instantiated from here
/home/pit/prj/boost/boost/regex.hpp:244: Internal compiler error in
scan_region,
 at except.c:2809
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

    g++ -c -Wall -ftemplate-depth-100 -DNDEBUG -DBOOST_RE_NO_LIB=1 -O4
-finli
ne-functions -Wno-inline -I"libs/regex/build" -I"/home/pit/prj/boost"
-o "li
bs/regex/build/bin/libboost_regex.a/gcc/release/runtime-link-dynamic/cregex.o"
"libs/regex/build/../src/cregex.cpp"

...failed gcc-C++-action
libs/regex/build/bin/libboost_regex.a/gcc/release/runti
me-link-dynamic/cregex.o ...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>fil
eiter.o...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>pos
ix_api.o...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>reg
ex.o...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>reg
ex_debug.o...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>reg
ex_synch.o...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>w32
_regex_traits.o...
...using
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>wid
e_posix_api.o...
...skipped
<libs!regex!build/libboost_regex.a/gcc/release/runtime-link-dynamic>l
ibboost_regex.a for lack of
<libs!regex!build/libboost_regex.a/gcc/release/runti
me-link-dynamic>libboost_regex.a(cregex.o)...
gcc-C++-action
libs/regex/build/bin/libboost_regex.so/gcc/release/runtime-link-d
ynamic/shared-linkable-true/cregex.o
/home/pit/prj/boost/boost/regex.hpp: In function `iterator
boost::re_detail::re_is_set_member (iterator, iterator,
boost::re_detail::re_set_long *, const boost::reg_expression<charT,
traits_type, Allocator> &) [with iterator =
boost::re_detail::mapfile_iterator, charT = char, traits_type =
boost::regex_traits<char>, Allocator = allocator<char>]':
/home/pit/prj/boost/boost/regex/detail/regex_match.hpp:545: instantiated
from `boost::re_detail::query_match_aux (iterator, iterator,
boost::match_results<iterator, Allocator> &, const
boost::reg_expression<charT, traits, Allocator2> &, unsigned int,
boost::re_detail::_priv_match_data<iterator, Allocator> &, iterator *)
[with iterator = boost::re_detail::mapfile_iterator, Allocator =
allocator<char>, charT = char, traits = boost::regex_traits<char>,
Allocator2 = allocator<char>]'
/home/pit/prj/boost/boost/regex/detail/regex_match.hpp:1093:
instantiated from `boost::re_detail::reg_grep2 (Predicate, I, I, const
boost::reg_expression<charT, traits, Allocator2> &, unsigned int, A2)
[with Predicate = boost::re_detail::pred4, I =
boost::re_detail::mapfile_iterator, charT = char, traits =
boost::regex_traits<char>, A = allocator<char>, A2 = allocator<char>]'
/home/pit/prj/boost/boost/regex/detail/regex_match.hpp:1752:
instantiated from `boost::regex_grep (Predicate, iterator, iterator, const
boost::reg_expression<charT, traits, Allocator2> &, unsigned int) [with
Predicate = boost::re_detail::pred4, iterator =
boost::re_detail::mapfile_iterator, charT = char, traits =
boost::regex_traits<char>, Allocator = allocator<char>]'
libs/regex/build/../src/cregex.cpp:387: instantiated from here
/home/pit/prj/boost/boost/regex.hpp:244: Internal compiler error in
scan_region, at except.c:2809
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

    g++ -c -Wall -ftemplate-depth-100 -DNDEBUG -DBOOST_RE_BUILD_DLL=1
-O4 -finline-functions -Wno-inline -fPIC -I"libs/regex/build"
-I"/home/pit/prj/boost" -o
"libs/regex/build/bin/libboost_regex.so/gcc/release/runtime-link-dynamic/shared-linkable-true/cregex.o"
"libs/regex/build/../src/cregex.cpp"

...failed gcc-C++-action
libs/regex/build/bin/libboost_regex.so/gcc/release/runtime-link-dynamic/shared-linkable-true/cregex.o
...
...skipped
<libs!regex!build/libboost_regex.so/gcc/release/runtime-link-dynamic/shared-linkable-true>libboost_regex.so
for lack of
<libs!regex!build/libboost_regex.so/gcc/release/runtime-link-dynamic/shared-linkable-true>cregex.o...
...failed updating 2 targets...
...skipped 2 targets...
pit_at_warp:~/prj/boost >

> > as i have absolutely no clue of jam i' dbe really grateful for advice on
> > building the threads library.
>
> I'd be happy to help; I just need more information. FYI, we are in a
> transitional stage with Jam and working out what I hope are the last few
> serious kinks.

so, my gcc (redhat's) produces a compiler error, however, i dont even want
the regexp lib to compile, just threads, and, as far as i can see, no
attempt is made to compile the threads library.

will a successfull build compile on big lib or will it result in single
libs for regex/threads/etc ?

thanks for help, karl.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk