[ECOS] relocation truncated to fit: R_ARM_THM_PC11

Sven Rehfuß sven.rehfuss@b2motion.de
Thu Mar 18 18:01:00 GMT 2004


Hi,
I get the error
 relocation truncated to fit: R_ARM_THM_PC11
if i compile a program using thumb instrcutions.
I added -mthumb, -mthumb-interwork and -mlong-calls to my compiling
instructions.
What can I do??

Regards,
 Sven

P.S.: the complete message


navigation.o:/home/sven/Projekte/NavMe/source/library/webraska_v1.0/include/BasicClasses/WbskAutoObject.h:124: relocation truncated to fit: R_ARM_THM_PC11 navigationClass::onDataStart() 
* navigation.o: In function `non-virtual thunk [nv:-4] to
navigationClass::onDataStop()': 
*
navigation.o(.gnu.linkonce.t._ZThn4_N15navigationClass10onDataStopEv+0x2): relocation truncated to fit: R_ARM_THM_PC11 navigationClass::onDataStop() 
* navigation.o: In function `non-virtual thunk [nv:-4] to
navigationClass::onDataAbort(webraska::DecodingReport const&)': 
*
navigation.o(.gnu.linkonce.t._ZThn4_N15navigationClass11onDataAbortERKN8webraska14DecodingReportE+0x2): relocation truncated to fit: R_ARM_THM_PC11 navigationClass::onDataAbort(webraska::DecodingReport const&) 
* navigation.o: In function `non-virtual thunk [nv:-8] to
navigationClass::onRoadmapLoaded(webraska::RoadmapDecoder::Header
const&, webraska::Vector<webraska::PtrAutoObject<webraska::Section> >
const&)': 
*
navigation.o(.gnu.linkonce.t._ZThn8_N15navigationClass15onRoadmapLoadedERKN8webraska14RoadmapDecoder6HeaderERKNS0_6VectorINS0_13PtrAutoObjectINS0_7SectionEEEEE+0x2): relocation truncated to fit: R_ARM_THM_PC11 navigationClass::onRoadmapLoaded(webraska::RoadmapDecoder::Header const&, webraska::Vector<webraska::PtrAutoObject<webraska::Section> > const&) 
* navigation.o: In function `non-virtual thunk [nv:-16] to
navigationClass::onFirstSectionAvailable(webraska::GuidanceEngine&)': 
*
navigation.o(.gnu.linkonce.t._ZThn16_N15navigationClass23onFirstSectionAvailableERN8webraska14GuidanceEngineE+0x2): relocation truncated to fit: R_ARM_THM_PC11 navigationClass::onFirstSectionAvailable(webraska::GuidanceEngine&) 
* navigation.o: In function `non-virtual thunk [nv:-12] to
navigationClass::onNewDrivingInfo(webraska::GuidanceEngine&,
webraska::PtrAutoObject<webraska::DrivingInfo> const&)': 
*
navigation.o(.gnu.linkonce.t._ZThn12_N15navigationClass16onNewDrivingInfoERN8webraska14GuidanceEngineERKNS0_13PtrAutoObjectINS0_11DrivingInfoEEE+0x2): relocation truncated to fit: R_ARM_THM_PC11 navigationClass::onNewDrivingInfo(webraska::GuidanceEngine&, webraska::PtrAutoObject<webraska::DrivingInfo> const&) 
* navigation.o: In function `non-virtual thunk [nv:-12] to
navigationClass::onReroutingBegin(webraska::GuidanceEngine&,
webraska::PtrAutoObject<webraska::DrivingInfo> const&)': 
*
navigation.o(.gnu.linkonce.t._ZThn12_N15navigationClass16onReroutingBeginERN8webraska14GuidanceEngineERKNS0_13PtrAutoObjectINS0_11DrivingInfoEEE+0x2): relocation truncated to fit: R_ARM_THM_PC11 navigationClass::onReroutingBegin(webraska::GuidanceEngine&, webraska::PtrAutoObject<webraska::DrivingInfo> const&) 
*
/home/sven/Projekte/NavMe/source/library/webraska_v1.0/lib/libThreadAndStreams.a(WbskMemIOStream): In function `non-virtual thunk [nv:-8] to webraska::MemIOStreamB::~MemIOStreamB [in-charge]()': 
*
WbskMemIOStream(.gnu.linkonce.t._ZThn8_N8webraska12MemIOStreamBD1Ev+0x2): relocation truncated to fit: R_ARM_THM_PC11 webraska::MemIOStreamB::~MemIOStreamB [in-charge]() 
*
/home/sven/Projekte/NavMe/source/library/webraska_v1.0/lib/libThreadAndStreams.a(WbskMemIOStream): In function `non-virtual thunk [nv:-8] to webraska::MemIOStreamB::~MemIOStreamB [in-charge deleting]()': 
*
WbskMemIOStream(.gnu.linkonce.t._ZThn8_N8webraska12MemIOStreamBD0Ev+0x2): relocation truncated to fit: R_ARM_THM_PC11 webraska::MemIOStreamB::~MemIOStreamB [in-charge deleting]() 
*
/home/sven/Projekte/NavMe/source/library/webraska_v1.0/lib/libThreadAndStreams.a(WbskMemIOStream): In function `non-virtual thunk [nv:-8] to webraska::MemIOStreamB::open()': 
*
WbskMemIOStream(.gnu.linkonce.t._ZThn8_N8webraska12MemIOStreamB4openEv+0x2): relocation truncated to fit: R_ARM_THM_PC11 webraska::MemIOStreamB::open() 
*
/home/sven/Projekte/NavMe/source/library/webraska_v1.0/lib/libThreadAndStreams.a(WbskMemIOStream): In function `non-virtual thunk [nv:-8] to webraska::MemIOStreamB::close()': 
*
WbskMemIOStream(.gnu.linkonce.t._ZThn8_N8webraska12MemIOStreamB5closeEv+0x2): relocation truncated to fit: R_ARM_THM_PC11 webraska::MemIOStreamB::close() 
*
/home/sven/Projekte/NavMe/source/library/webraska_v1.0/lib/libThreadAndStreams.a(WbskMemIOStream): In function `non-virtual thunk [nv:-8] to webraska::MemIOStreamB::putBytes(unsigned char const*, unsigned long)': 
*
WbskMemIOStream(.gnu.linkonce.t._ZThn8_N8webraska12MemIOStreamB8putBytesEPKhm+0x2): relocation truncated to fit: R_ARM_THM_PC11 webraska::MemIOStreamB::putBytes(unsigned char const*, unsigned long) 
* collect2: ld 
* returned 1 exit status 
* gmake[2]: *** [navme_develop] Fehler 1 
* gmake[1]: *** [all-recursive] Fehler 1 
* gmake: *** [all] Fehler 2 
* *** Exited with status: 2 ***



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list