Hi,

i noticed in r25322 a patch has been committed to support EABI on thumbless ARM 
v4 CPUs.
However, the patch only works if -marmv4 is passed to the linker as the default 
is armv5t.
Unlike openembedded, openwrt does not pass this option to the linker so i 
modified the patch to

#define TARGET_FIX_V4BX_SPEC " --fix-v4bx"

This way, i was able to compile OpenWRT for my SIMPad (See 
http://git.bocc.de/cgi-bin/gitweb.cgi?p=openwrt.git;a=shortlog;h=refs/heads/simpad).

So what would be the correct way to compile for EABI on armv4?

OABI is a dead-end, as newer graphics utilities like pango don't work anymore 
due to the fixed structure alignment. See:

Build log: 
http://tksite.gotdns.org:8010/broken_packages/gemini/pango/compile.txt
Developers opinion: 
http://old.nabble.com/Re%3A-Pango-cross-compile-failure-%28ARM%29-p26706606.html
Info on structure alignment on OABI and EABI: 
http://wiki.debian.org/ArmEabiPort#Structpackingandalignment

Thanks,
Jochen
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to