From: Travis Stratman <tstratman@emacinc.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: EABI pain and frustration!
Date: Fri, 05 Feb 2010 16:53:19 -0600 [thread overview]
Message-ID: <1265410399.4267.412.camel@cheeto.emacinc.com> (raw)
In-Reply-To: <19c1b8a91002051341m3465d125hcaa15fcfac08f10@mail.gmail.com>
On Fri, 2010-02-05 at 13:41 -0800, Khem Raj wrote:
> On Fri, Feb 5, 2010 at 12:43 PM, Travis Stratman <tstratman@emacinc.com> wrote:
> > On Fri, 2010-02-05 at 10:00 -0800, Khem Raj wrote:
> >> On Fri, Feb 5, 2010 at 4:29 AM, Detlef Vollmann <dv@vollmann.ch> wrote:
> >> > On 02/03/10 15:03, pspreadborough@comcast.net wrote:
> >> >>
> >> >> My 2.6.29 kernel is built with the CodeSourcery
> >> >> arm-2009q3-67-arm-none-linux-gnueabi compiler and has the EABI and
> >> >> OABI_COMPAT config options enabled. Using this kernel I can boot my SA1110
> >> >> iPaq into a OABI ramfs with no problems, however if I build a "HelloWorld"
> >> >> executable with the same compiler and try and run it I get an "Illegal
> >> >> Instruction" error. I build the test program using static linking, select
> >> >> the correct machine type and tune options but to no avail, I always get the
> >> >> illegal instruction.
> >>
> >> You need gcc 4.4 to get EABI working on ARMv4 and there are additional patches
> >> to gcc on top of gcc 4.4 see
> >> gcc-armv4-pass-fix-v4bx-to-ld.patch for gcc in OE. So as Koen suggested earlier
> >> if you try with OE compiler you might have better chance of getting it
> >> to work as many
> >> OE devs have tried it.
> >> btw. are you passing march=armv4 to the compiler when doing the compile ?
> >
> > >From my understanding of this issue he has an OABI rootfs and is trying
> > to run an EABI executable on top of it. This just doesn't work period
> > AFAIK; the kernel can boot either OABI or EABI with the compatibility
> > flags config'd in, but all of the binaries on the filesystem must match.
> >
> > I'll have to look into the patch that you referenced above because I
> > have been using EABI (built through OE) for both the kernel and
> > filesystem with armv4t for a few years now. First w/ GCC 4.1.1 and now
> > with 4.2.4 and I've never run into issues. Does the issue only manifest
> > in certain situations?
>
> Well you said armv4t thats a whole different story than armv4 (without
> 't') for EABI
> AFAICT SA1110 is based on ARMv4 not ARMv4t.
You are correct, my mistake.
Thanks,
TAS
next prev parent reply other threads:[~2010-02-05 22:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-03 14:03 EABI pain and frustration! pspreadborough
2010-02-03 14:43 ` Koen Kooi
2010-02-03 15:59 ` Khem Raj
2010-02-05 12:29 ` Detlef Vollmann
2010-02-05 13:31 ` pspreadborough
2010-02-05 18:00 ` Khem Raj
2010-02-05 20:43 ` Travis Stratman
2010-02-05 21:41 ` Khem Raj
2010-02-05 22:53 ` Travis Stratman [this message]
2010-02-06 14:01 ` Phil Blundell
2010-02-06 16:24 ` pspreadborough
[not found] <1525882292.3655251265221536810.JavaMail.root@sz0154a.westchester.pa.mail.comcast.net>
2010-02-03 18:32 ` pspreadborough
2010-02-03 18:39 ` Koen Kooi
[not found] <1444973837.415081265420091001.JavaMail.root@sz0154a.westchester.pa.mail.comcast.net>
2010-02-06 1:37 ` pspreadborough
2010-02-06 16:27 ` Khem Raj
2010-02-06 16:38 ` pspreadborough
2010-02-06 17:27 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1265410399.4267.412.camel@cheeto.emacinc.com \
--to=tstratman@emacinc.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox