Boost logo

Boost-Build :

Subject: [Boost-build] [boost] [1.45][Serialization] fails to cross-compile using arm-linux-uclibc toolchain
From: Alex Potapenko (zoneofbattle_at_[hidden])
Date: 2011-01-18 12:08:54


Building boost 1.45 on Debian using arm-linux-uclibc toolchain fails to compile serialization lib, due to static assertions in basic_binary_?archive.hpp's at:

ššš BOOST_STATIC_ASSERT(sizeof(tracking_type) == sizeof(bool));
ššš BOOST_STATIC_ASSERT(sizeof(class_id_type) == sizeof(int_least16_t));
ššš BOOST_STATIC_ASSERT(sizeof(class_id_reference_type) == sizeof(int_least16_t));

It appears to be some uclibc issue, since it builds fine using glibc toolchains.

Is it safe to simply comment out these assertions?

Thanks in advance,
Alex



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk