Boost logo

Boost Users :

From: Patrik Jonsson (patrik_at_[hidden])
Date: 2005-05-25 16:33:24


Hi again,

so, I've now switched to trying to build boost using KCC (4.0f9, I need
both KCC and gcc versions). And that opened up a whole new slew of cans
of worms...

1. the <address-model>64 doesn't seem to do anything here, the proper
option (-q64) is not used. I can turn it on with "<cxxflags>-q64
<linkflags>-q64 <arflags>-q64" and that seems to work.
2. when building the thread library (and possibly others), the option to
turn on threading (--thread_safe) is not used, resulting in error messages:

"/scratch/scratchdirs/patrik/boost_1_32_0/boost/config/requires_threads.hpp",
line 86: catastrophic error:
          #error directive: "Compiler threading support is not turned on.
          Please consult your compiler's documentation for the appropriate
          options to use"
  # error "Compiler threading support is not turned on. Please consult
your compiler's documentation for the appropriate options to use"

If I manually turn it on using "<cxxflags>--thread_safe
<linkflags>--thread_safe <arflags>--thread_safe", I can compile it, but...

3. Building shared libraries fails:

kcc-Link-action
bin/boost/libs/thread/build/libboost_thread.so/kcc/debug/libboos
t_thread-kcc-d-1_32.so
"/scratch/scratchdirs/patrik/kcc_munch0000DABA000.c", line 3.1: 1506-166
(S) Def
inition of function func_ptr requires parentheses.
"/scratch/scratchdirs/patrik/kcc_munch0000DABA000.c", line 3.10:
1506-276 (S) Sy
ntax error: possible missing '{'?
/usr/common/usg/KCC/4.0f9/KCC_BASE/bin/cc_r: 1501-228 input file
kcc_munch0000DA
BA000.o not found

     KCC -g --thread_safe -o
"bin/boost/libs/thread/build/libboost_thread.so/k
cc/debug/libboost_thread-kcc-d-1_32.so"
"bin/boost/libs/thread/build/libboost_
thread.so/kcc/debug/barrier.o"
"bin/boost/libs/thread/build/libboost_thread.so/k
cc/debug/condition.o"
"bin/boost/libs/thread/build/libboost_thread.so/kcc/debug/
exceptions.o"
"bin/boost/libs/thread/build/libboost_thread.so/kcc/debug/mutex.o"
 "bin/boost/libs/thread/build/libboost_thread.so/kcc/debug/once.o"
"bin/boost/li
bs/thread/build/libboost_thread.so/kcc/debug/recursive_mutex.o"
"bin/boost/libs/
thread/build/libboost_thread.so/kcc/debug/read_write_mutex.o"
"bin/boost/libs/th
read/build/libboost_thread.so/kcc/debug/thread.o"
"bin/boost/libs/thread/build/l
ibboost_thread.so/kcc/debug/tss_hooks.o"
"bin/boost/libs/thread/build/libboost_t
hread.so/kcc/debug/tss_dll.o"
"bin/boost/libs/thread/build/libboost_thread.so/kc
c/debug/tss_pe.o"
"bin/boost/libs/thread/build/libboost_thread.so/kcc/debug/tss.
o" "bin/boost/libs/thread/build/libboost_thread.so/kcc/debug/xtime.o" -lm

...failed kcc-Link-action
bin/boost/libs/thread/build/libboost_thread.so/kcc/deb
ug/libboost_thread-kcc-d-1_32.so...
...skipped <@boost!lib-KCC>libboost_thread-kcc-d-1_32.so for lack of
<@boost!lib
s!thread!build/libboost_thread.so/kcc/debug>libboost_thread-kcc-d-1_32.so...

4. There are numerous compiler errors and warnings preventing many
libraries from building. I've attached the full build log to this email.

cheers,

/Patrik




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net