Help with link_bss santity check - DryOS Development - CHDK Forum

Help with link_bss santity check

  • 3 Replies
  • 2667 Views
Help with link_bss santity check
« on: 04 / June / 2011, 23:38:51 »
Advertisements
Hey  im trying to port CHDK to a new camera and the execution it is failing on a sanity check.

if((long)&link_bss_end > ( MEMISOSTART + MEMISOSIZE))
{
    started();
    shutdown();
}

I have no idea what is going on here.

MEMISOSTART=0x18A7FC
MEMISOSIZE=0x45a62 ( from caminfo.txt)

Any suggestions?

Thanks

*

Offline reyalp

  • ******
  • 13456
Re: Help with link_bss santity check
« Reply #1 on: 05 / June / 2011, 00:53:30 »
Something wrong in your toolchain or makefiles I guess.

This sanity check was from when MEMISOSIZE was set manually, but that's not needed any more because memisosize is set automatically (has been for a couple years...)
Don't forget what the H stands for.

Re: Help with link_bss santity check
« Reply #2 on: 05 / June / 2011, 01:01:02 »
Something wrong in your toolchain or makefiles I guess.

This sanity check was from when MEMISOSIZE was set manually, but that's not needed any more because memisosize is set automatically (has been for a couple years...)

OK.Sound it sounds as if though it will be safe to comment out the section until I can find the problem?

*

Offline reyalp

  • ******
  • 13456
Re: Help with link_bss santity check
« Reply #3 on: 05 / June / 2011, 01:18:02 »
OK.Sound it sounds as if though it will be safe to comment out the section until I can find the problem?
I wouldn't say that. if everything is setup correctly, that check is doing the equivalent of if(1 != 1). The fact that it fails means something is *very* wrong in the way you've built it.
Don't forget what the H stands for.


 

Related Topics