[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#342267: gcc-4.0: boost 1.33.x FTBFS with "cannot handle R_PARISC_PCREL17F..."



did you check the suggestion from the error message? please notice
that the error message comes from the linker (binutils).

Domenico Andreoli writes:
> Package: gcc-4.0
> Version: n/a
> Severity: important
> 
> hi,
> 
> gcc-4.0 makes boost 1.33.x FTBFS on hppa. this bug is probably the
> same of #342245 for gcc-3.4, only that gcc-4.0 _never_ built 1.33.x on
> that architecture.
> 
> /usr/bin/ld: bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/xml_oarchive.o(.gnu.linkonce.t._ZN5boost7archive6detail18interface_oarchiveINS0_12xml_oarchiveEElsIKNS0_12version_typeEEERS3_RT_[boost::archive::xml_oarchive& boost::archive::detail::interface_oarchive<boost::archive::xml_oarchive>::operator<< <boost::archive::version_type const>(boost::archive::version_type const&)]+0x44): cannot reach 00001f29__ZN5boost7archive18basic_xml_oarchiveINS0_12xml_oarchiveEE13save_overrideERKNS0_12version_typeEi+0, recompile with -ffunction-sections
> /usr/bin/ld: bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/xml_oarchive.o(.gnu.linkonce.t._ZN5boost7archive6detail18interface_oarchiveINS0_12xml_oarchiveEElsIKNS0_12version_typeEEERS3_RT_[boost::archive::xml_oarchive& boost::archive::detail::interface_oarchive<boost::archive::xml_oarchive>::operator<< <boost::archive::version_type const>(boost::archive::version_type const&)]+0x44): cannot handle R_PARISC_PCREL17F for boost::archive::basic_xml_oarchive<boost::archive::xml_oarchive>::save_override(boost::archive::version_type const&, int)
> /usr/bin/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
> 
> the full log is available at http://buildd.debian.org/fetch.php?&pkg=boost&ver=1.33.0-2&arch=hppa&stamp=1130099046&file=log&as=raw.
> 
> i'm again available to delve further into this if only i get some hint
> of the direction to follow. anyway i'd be probably able to only extract
> more info, surely not to to fix the compiler itself.
> 
> thanks
> domenico
> 
> -----[ Domenico Andreoli, aka cavok
>  --[ http://people.debian.org/~cavok/gpgkey.asc
>    ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: