Boost logo

Boost :

From: Daniel Jahre (daja_at_[hidden])
Date: 2006-01-10 10:43:52


Hello,

I tried to compile boost with gcc 3.4.x and 4.0.2 on Linux. With the
latter I finally managed to build boost but let's come to this later.

I tried gcc 3.4.2 and 3.4.4 both producing the following errors:
`.L17959' referenced in section `.rodata' of
bin/boost/libs/regex/build/libboost_regex.so/gcc/release/shared-linkable-true/
instances.o: defined in discarded section
`.gnu.linkonce.t._ZN5boost9re_detail12perl_matcherIN9__gnu_cxx17__normal_iterator
IPKcSsEESaINS_9sub_matchIS6_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15match_startmarkEv' of
bin/boost/libs/regex/
build/libboost_regex.so/gcc/release/shared-linkable-true/instances.o
...
see the complete logfile at
http://lospalmos.net/boost-logs/boost-gcc-3.4.4.log
This happens with different versions of binutils.

With gcc4 these linker errors vanished, but I figured out that there
are hardcoded depencies on libicu even when the build system claims
that it has switched ICU off.
So the log says:

Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).

but later I found that errors on 8 targets:
/usr/lib/gcc/i586-unknown-linux-gnu/4.0.2/../../../../i586-unknown-linux-gnu/bin/ld: cannot find
-licui18n
collect2: ld returned 1 exit status

see the complete log at http://lospalmos.net/boost-logs/boost-gcc-4.0.2.log

I "fixed" this by installing ICU but still consider it a bug.

Cheers,

Daniel
who is currently working on the boost package for ROCK Linux


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