PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

iPhone: thumb bl/blx out of range (4916992 max is +/-4M)...

I added some big video library, and now i have this error when i try to compile my project on xcode:

ld: thumb bl/blx out of range (4916992 max is +/-4M) from ecDspCreate() in ../../TeEngine_3/EDGE/Libs/edgelib_3/lib/iphone/libedge.a(cdisplay.o) to __Znwm$stub in /Developer/Projects/Test/Builder/build/Debug-iphoneos/Test.app/Test in ecDspCreate() from ../../TeEngine_3/EDGE/Libs/edgelib_3/lib/iphone/libedge.a(cdisplay.o)

Apparently, there is a limit of 4MB of code in thumb mode. So i desactivated the thumb compilation in all my project but it doesnt work because EDGE is compiled with thumb.

Is there a way to solve this? Maybe there is a edge version without thumb mode.
Hi Bruno,

Unfortunately there is no EDGELIB version without thumb code yet. We may consider this for the upcoming EDGELIB release.