Build your library with a far memory model to get rid of the relocation overflow.
On Mon, Sep 22, 2008 at 12:55 PM, <[EMAIL PROTECTED]> wrote: > Hi, > > I have the following error while building my DSP server inlcuding a VP6 > Video decoder library. > The tools and the versions are given below. > DVSDK - 1.30.01.41 <http://1.30.1.41/> > BIOS - 5.31.08 > XDC - 3.00.02 > Code Gen tools = 6.0.15 > > I have used RTSC tools to generate the Codec package and Server package. > RTSC version. > CEUTILS v1.06. > CG_XML v 1.30.00 > > > > > making all: Mon Sep 22 12:19:34 IST 2008 ... > ======== .interfaces [.] ======== > making package.mak (because of package.bld) ... > config.bld: loading user build configuration file > /home/girish/demo/On2/cp/user.bld > building for target C64P ... > generating interfaces for package > On2.cp.servers.vp6dec_unitserver_evmdm6446 (because package/package.xdc.xml > is older than package.xdc) ... > .interfaces files complete: Mon Sep 22 12:19:40 IST 2008. > ======== .libraries [.] ======== > .libraries files complete: Mon Sep 22 12:19:40 IST 2008. > ======== .dlls [.] ======== > .dlls files complete: Mon Sep 22 12:19:40 IST 2008. > ======== .executables [.] ======== > configuring vp6dec_unitserver_evmdm6446.x64P from > package/cfg/vp6dec_unitserver_evmdm6446_x64P.cfg ... > platform = ti.platforms.evmDM6446 > ti.sdo.ce.bioslog.init() ... > Warning: On2.cp.codecs.vp6dec.ce.VP6DEC did not supply a max DARAM scratch > size; assuming 0 bytes is sufficient. > Warning: On2.cp.codecs.vp6dec.ce.VP6DEC did not supply a max SARAM scratch > size; assuming 0 bytes is sufficient. > ti.sdo.ce.bioslog.close() ... > ti.sdo.ce.osal.close() ... > ti.sdo.ce.bioslog.validate() ... > ti.sdo.ce.osal.validate() ... > will link with ti.sdo.ce.video:lib/video.a64P > will link with ti.sdo.ce.bioslog:lib/bioslog.a64P > will link with ti.sdo.ce:lib/ce.a64P > will link with ti.sdo.ce.alg:lib/Algorithm_BIOS.a64P > will link with > ti.sdo.ce.osal:lib/osal_dsplink_bios.a64P;lib/osal_dsplink_bios_6446.a64P > will link with ti.sdo.fc.acpy3:acpy3.a64P > will link with ti.bios.utils:lib/utils.a64P > will link with ti.sdo.ce.utils.xdm:lib/XdmUtils.a64P > will link with ti.sdo.utils.trace:lib/gt.a64P > will link with ti.sdo.ce.node:lib/node.a64P > will link with ti.sdo.fc.dskt2:dskt2.a64P > will link with ti.sdo.fc.dman3:dman3Cfg.a64P > will link with On2.cp.codecs.vp6dec:lib/vp6dec.a64P > cl64P package/cfg/vp6dec_unitserver_evmdm6446_x64Pcfg_c.c ... > cl64P package/cfg/vp6dec_unitserver_evmdm6446_x64P.c ... > cl64P main.c ... > asm64P package/cfg/vp6dec_unitserver_evmdm6446_x64Pcfg.s62 ... > lnk64P vp6dec_unitserver_evmdm6446.x64P ... > > undefined first referenced > symbol in file > --------- ---------------- > _VP6_BlitFrame > /home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P > _VP6_StartDecoder > /home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P > _VP6_LastFrameWH > /home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P > _VP6_ComputeSlowMemory > /home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P > _VP6_VPInitLibrary > /home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P > _VP6_StopDecoder > /home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P > _VP6_DecodeFrameToYUV > /home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P > >> error: relocation overflow occurred at address 0x00000038 in section >>> >> '.text:algProcess' of input file 'vp6dec.o64P > (/home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P)'. The > 29-bit PC-relative displacement 471205136 at this location is > too > large to fit into the 21-bit PC-Relative field; the destination > address is too far away from the instruction. You may need to > add a > mask to the assembly instruction or use other target specific > assembly features if you really only need the lowest 21 bits of > this symbol. Please see the section on Relocation in the > Assembly > User's Guide. > >> error: relocation overflow occurred at address 0x000000c4 in section >>> >> '.text:algProcess' of input file 'vp6dec.o64P > (/home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P)'. The > 29-bit PC-relative displacement 471205096 at this location is > too > large to fit into the 21-bit PC-Relative field; the destination > address is too far away from the instruction. You may need to > add a > mask to the assembly instruction or use other target specific > assembly features if you really only need the lowest 21 bits of > this symbol. Please see the section on Relocation in the > Assembly > User's Guide. > >> error: relocation overflow occurred at address 0x0000014c in section >>> >> '.text:algProcess' of input file 'vp6dec.o64P > (/home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P)'. The > 29-bit PC-relative displacement 471205064 at this location is > too > large to fit into the 21-bit PC-Relative field; the destination > address is too far away from the instruction. You may need to > add a > mask to the assembly instruction or use other target specific > assembly features if you really only need the lowest 21 bits of > this symbol. Please see the section on Relocation in the > Assembly > User's Guide. > >> error: relocation overflow occurred at address 0x000000e0 in section >>> >> '.text:algInit' of input file 'vp6dec.o64P > (/home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P)'. The > 29-bit PC-relative displacement 471205216 at this location is > too > large to fit into the 21-bit PC-Relative field; the destination > address is too far away from the instruction. You may need to > add a > mask to the assembly instruction or use other target specific > assembly features if you really only need the lowest 21 bits of > this symbol. Please see the section on Relocation in the > Assembly > User's Guide. > >> error: relocation overflow occurred at address 0x000000f0 in section >>> >> '.text:algInit' of input file 'vp6dec.o64P > (/home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P)'. The > 29-bit PC-relative displacement 471205216 at this location is > too > large to fit into the 21-bit PC-Relative field; the destination > address is too far away from the instruction. You may need to > add a > mask to the assembly instruction or use other target specific > assembly features if you really only need the lowest 21 bits of > this symbol. Please see the section on Relocation in the > Assembly > User's Guide. > >> error: relocation overflow occurred at address 0x0000006c in section >>> >> '.text:algAlloc' of input file 'vp6dec.o64P > (/home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P)'. The > 29-bit PC-relative displacement 471204864 at this location is > too > large to fit into the 21-bit PC-Relative field; the destination > address is too far away from the instruction. You may need to > add a > mask to the assembly instruction or use other target specific > assembly features if you really only need the lowest 21 bits of > this symbol. Please see the section on Relocation in the > Assembly > User's Guide. > >> error: relocation overflow occurred at address 0x00000034 in section >>> >> '.text:algFree' of input file 'vp6dec.o64P > (/home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P)'. The > 29-bit PC-relative displacement 471225192 at this location is > too > large to fit into the 21-bit PC-Relative field; the destination > address is too far away from the instruction. You may need to > add a > mask to the assembly instruction or use other target specific > assembly features if you really only need the lowest 21 bits of > this symbol. Please see the section on Relocation in the > Assembly > User's Guide. > >> error: relocation overflow occurred at address 0x00000064 in section >>> >> '.text:algControl' of input file 'vp6dec.o64P > (/home/girish/demo/On2/cp/codecs/vp6dec/lib/vp6dec.a64P)'. The > 29-bit PC-relative displacement 471205440 at this location is > too > large to fit into the 21-bit PC-Relative field; the destination > address is too far away from the instruction. You may need to > add a > mask to the assembly instruction or use other target specific > assembly features if you really only need the lowest 21 bits of > this symbol. Please see the section on Relocation in the > Assembly > User's Guide. > >> error: symbol referencing errors - 'vp6dec_unitserver_evmdm6446.x64P' not >>> >> built > gmake[1]: *** [vp6dec_unitserver_evmdm6446.x64P] Error 1 > gmake: *** [.,.executables] Error 2 > > > thanks and regards > Girish > > > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source >
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
