Boost logo

Boost Users :

Subject: [Boost-users] [serialization] compile error on Mac OSX Tiger
From: Philipp Münzel (mail_at_[hidden])
Date: 2010-10-26 11:55:20


Hi folks,

after successfully deploying boost 1.44 on Windows and Linux, I now fail
bitterly on Mac OSX.

It is a Power PC with OSX 10.4 and gcc 4.0.1
When building boost with the following command:
./bjam --layout=system --with-serialization link=static variant=release
threading=multi

I get the following error:
darwin.compile.c++
bin.v2/libs/serialization/build/darwin-4.0.1/release/link-static/threading-
multi/basic_xml_archive.o
darwin.compile.c++
bin.v2/libs/serialization/build/darwin-4.0.1/release/link-static/threading-
multi/binary_iarchive.o
./boost/archive/basic_binary_iarchive.hpp:74: error: invalid application of
'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'

    "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-no-cpp-precomp -gdwarf-2 -Wno-long-double -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"."
-c -o
"bin.v2/libs/serialization/build/darwin-4.0.1/release/link-static/threading-
multi/binary_iarchive.o"
"libs/serialization/src/binary_iarchive.cpp"

...failed darwin.compile.c++
bin.v2/libs/serialization/build/darwin-4.0.1/release/link-static/threading-
multi/binary_iarchive.o...
...failed updating 1 target...
...updated 74 targets...

I did NOT set architecture=combined. I want a PPC only build.

Any help is greatly appreciated.

Regards
Philipp


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