error linking Boost.Serialization on hppa
hi all,
i'm now pretty sure this FTBFS [0] on hppa won't go away by itself (=
nobody is going to upload a new version of something in the toolchain
which fixes also this problem).
build error follows:
/usr/bin/ld: bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_iarchive.o(.gnu.linkonce.t._ZSt24__uninitialized_copy_auxIPjS0_ET0_T_S2_S1_11__true_type[unsigned int* std::__uninitialized_copy_aux<unsigned int*, unsigned int*>(unsigned int*, unsigned int*, unsigned int*, __true_type)]+0x38): cannot reach 00001f2f__ZSt4copyIPjS0_ET0_T_S2_S1_+0, recompile with -ffunction-sections
/usr/bin/ld: bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_iarchive.o(.gnu.linkonce.t._ZSt24__uninitialized_copy_auxIPjS0_ET0_T_S2_S1_11__true_type[unsigned int* std::__uninitialized_copy_aux<unsigned int*, unsigned int*>(unsigned int*, unsigned int*, unsigned int*, __true_type)]+0x38): cannot handle R_PARISC_PCREL17F for unsigned int* std::copy<unsigned int*, unsigned int*>(unsigned int*, unsigned int*, unsigned int*)
/usr/bin/ld: final link failed: Bad value
i'm unable to understand what the linker is trying to tell me. yes, i've
already tried to compile using -ffunction-sections with no more luck.
is this a bug of ld? gcc? boost? me?
thanks for the help.
cheers
domenico
[0] http://buildd.debian.org/fetch.php?&pkg=boost&ver=1.33.0-1&arch=hppa&stamp=1127349147&file=log&as=raw
-----[ Domenico Andreoli, aka cavok
--[ http://people.debian.org/~cavok/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
Reply to: