Hello,

We have just began porting our application from mspgcc4 (release 
'MSPGCC4_20110312') to mspgcc-uniarch (release 'mspgcc LTS 20120406 
unpatched'). Release data was taken from 'msp430-gcc --version'.

When trying to compile with debugging symbols activated (-g option), the 
linker puts out the following error messages:

     build/board_pdd036/drivers/input/buttons.o:(.debug_loc+0x6b): 
relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
     build/board_pdd036/drivers/input/buttons.o:(.debug_loc+0x75): 
relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'

After greatly reducing the code size (disabling features), the linking 
step works fine and no error is detected. Also, the address at which the 
error points seems to be fixed, not caring about the underlying code 
(while disabling features, the functions at that address change 
constantly). Strangely, this seems to also happen without debugging 
symbols activated, but only on the biggest application we have.

Has anyone else encountered this problem?

Thanks,
Alex Stefan

-- 
Alexandru Stefan
Embedded C Developer
CloudBit
Email: alexandru.ste...@cloudbit.ro
Phone: +(40) 733 049 062


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to