Boost logo

Boost Users :

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


Hi,
I'm trying to build boost (1.32.0) on an IBM SP2 under AIX5, using the
64-bit ABI. This is troublesome. I do:

bjam "-sTOOLS=gcc" "-sGXX=g++ -maix64 -pthread" --prefix=$HOME
--libdir=$HOME/lib64-gcc --includedir=$HOME/include-gcc install

But it doesn't work. I get loads of errors like:

gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/libboost_date_time-gcc-d-1_32.so
ld: 0711-738 ERROR: Input file
bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/greg_month.o:
        XCOFF32 object files are not allowed in 64-bit mode.
collect2: ld returned 8 exit status

    set -e
    
LIBPATH=bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true:$LIBPATH

    export LIBPATH
    "g++" -maix64 -pthread -g -fPIC -shared -o
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/libboost_date_time-gcc-d-1_32.so"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/greg_month.o"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/greg_weekday.o"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/date_generators.o"

   

...failed gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/libboost_date_time-gcc-d-1_32.so...
...skipped <@boost!lib64-gcc>libboost_date_time-gcc-d-1_32.so for lack
of
<@boost!libs!date_time!build/libboost_date_time.so/gcc/debug/shared-linkable-true>libboost_date_time-gcc-d-1_32.so...

It seems it's using -maix64 ok when trying to build the library, but not
when compiling... Can anyone tell me what the proper way of building
boost under these conditions are?

Thanks,

/Patrik Jonsson


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