Hi,

On Wed, 09 Feb 2011 12:50:45 +0100, Jochen Friedrich <[email protected]> wrote:

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"

But that makes it unconditional. We should figure out why does it fail right 
now.

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).

Care to submit it?

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

As soon as EABI on armv4 works, I nuke OABI support.


Imre
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to