Boost logo

Boost Users :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-05-25 23:55:16

Patrik Jonsson wrote:
>> "power3" is something that was added by GCC after I wrote this support
>> into I just added it, and adjusted for the aix64 and
>> power combinations... Try the attached.. but now the BUILD value will
>> be the complete:
>> <architecture>power/<address-model>64/<instruction-set>power3/<object-model>aix
>> Not including the instruction-set should also work. But it will give
>> you the generic -mcpu=powerpc64 option instead of the -mcpu=power3.
>> It's up to you which one you want.
> ok, this is looking good. It looks like I now can build all static
> libraries. However, the shared libraries now fail because the -pthread
> option is not given on the link line. (I'm pretty sure this worked before):
> ...
> gcc-Link-action
> bin/boost/libs/date_time/build/
> ddress-model-64/architecture-power/instruction-set-power3/object-model-aix/share
> d-linkable-true/

Well that's a single threaded library, it would have "threading-multi"
in the path if it was multi threaded.

> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy

It's likely that something other than Boost requires pthread. Could you
find out what that is? It could be libstdc++, or something else..

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.

..Perhaps by using one of those options you can find out where the
pthread symbols are referenced. (by adding <ldflags>-bnoquite to BUILD
for example)

> If this is fixed, it looks like everything will build ok. Thanks a bunch!


-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ - grafik/
-- 102708583/icq - grafikrobot/aim - Grafik/

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at