* [Buildroot] Does buildroot toolchain support GNU EABI?
@ 2013-05-22 9:20 Woody Wu
2013-05-22 9:33 ` Yegor Yefremov
0 siblings, 1 reply; 8+ messages in thread
From: Woody Wu @ 2013-05-22 9:20 UTC (permalink / raw)
To: buildroot
Hi,
I found my buildroot toolchain is using EABI version 5. But I want to
create executable run an existed system that is using GNU EABI.
Actuall, I don't know what GNU EABI is. Can I configure buildroot to
support this? And, how?
Thanks in advance.
--
woody
I can't go back to yesterday - because I was a different person then.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Does buildroot toolchain support GNU EABI?
2013-05-22 9:20 [Buildroot] Does buildroot toolchain support GNU EABI? Woody Wu
@ 2013-05-22 9:33 ` Yegor Yefremov
2013-05-22 11:51 ` Thomas Petazzoni
2013-05-22 15:12 ` Woody Wu
0 siblings, 2 replies; 8+ messages in thread
From: Yegor Yefremov @ 2013-05-22 9:33 UTC (permalink / raw)
To: buildroot
On Wed, May 22, 2013 at 11:20 AM, Woody Wu <narkewoody@gmail.com> wrote:
> Hi,
>
> I found my buildroot toolchain is using EABI version 5. But I want to
> create executable run an existed system that is using GNU EABI.
>
> Actuall, I don't know what GNU EABI is. Can I configure buildroot to
> support this? And, how?
BR toolchains are always EABI unless you specify it to generate OABI
binaries. See Wikipaedia for EABI info:
http://en.wikipedia.org/wiki/EABI#EABI
Yegor
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Does buildroot toolchain support GNU EABI?
2013-05-22 9:33 ` Yegor Yefremov
@ 2013-05-22 11:51 ` Thomas Petazzoni
2013-05-22 15:04 ` Woody Wu
2013-05-22 15:12 ` Woody Wu
1 sibling, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2013-05-22 11:51 UTC (permalink / raw)
To: buildroot
Dear Yegor Yefremov,
On Wed, 22 May 2013 11:33:56 +0200, Yegor Yefremov wrote:
> BR toolchains are always EABI unless you specify it to generate OABI
> binaries. See Wikipaedia for EABI info:
> http://en.wikipedia.org/wiki/EABI#EABI
The support for OABI has been deprecated in Buildroot since
c4cfa85b798cb744954d35aa05fa41e7a6956abd. I even believe it has been
deprecated or maybe removed from the latest version of gcc.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Does buildroot toolchain support GNU EABI?
2013-05-22 11:51 ` Thomas Petazzoni
@ 2013-05-22 15:04 ` Woody Wu
2013-05-22 15:54 ` Thomas Petazzoni
0 siblings, 1 reply; 8+ messages in thread
From: Woody Wu @ 2013-05-22 15:04 UTC (permalink / raw)
To: buildroot
? 2013-5-22 PM7:51?"Thomas Petazzoni" <thomas.petazzoni@free-electrons.com
>???
>
> Dear Yegor Yefremov,
>
> On Wed, 22 May 2013 11:33:56 +0200, Yegor Yefremov wrote:
>
> > BR toolchains are always EABI unless you specify it to generate OABI
> > binaries. See Wikipaedia for EABI info:
> > http://en.wikipedia.org/wiki/EABI#EABI
>
> The support for OABI has been deprecated in Buildroot since
> c4cfa85b798cb744954d35aa05fa41e7a6956abd. I even believe it has been
> deprecated or maybe removed from the latest version of gcc.
Hi, Thomas
Did you mean the GNU EABI is the OABI?
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130522/31f4ae88/attachment.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Does buildroot toolchain support GNU EABI?
2013-05-22 9:33 ` Yegor Yefremov
2013-05-22 11:51 ` Thomas Petazzoni
@ 2013-05-22 15:12 ` Woody Wu
2013-05-22 17:37 ` Yann E. MORIN
1 sibling, 1 reply; 8+ messages in thread
From: Woody Wu @ 2013-05-22 15:12 UTC (permalink / raw)
To: buildroot
? 2013-5-22 PM5:34?"Yegor Yefremov" <yegorslists@googlemail.com>???
>
> On Wed, May 22, 2013 at 11:20 AM, Woody Wu <narkewoody@gmail.com> wrote:
> > Hi,
> >
> > I found my buildroot toolchain is using EABI version 5. But I want to
> > create executable run an existed system that is using GNU EABI.
> >
> > Actuall, I don't know what GNU EABI is. Can I configure buildroot to
> > support this? And, how?
>
> BR toolchains are always EABI unless you specify it to generate OABI
> binaries. See Wikipaedia for EABI info:
> http://en.wikipedia.org/wiki/EABI#EABI
>
> Yegor
Hi, Yegor
When I compile my new program using buildroot toolchain and link it to a
old shared library buit from another uClibC toolchain, it reported EABI
version mismatch. My new program is EABI version 5, and the expected to be
linked (-lfoo) is EABI version 0. When using readelf to check the library
file, it reported it's GNU EABI. That why I thought I should try to make
my buildroot to generate GNU EABI object. If I messed some concept, could
you please tell me what should I do?
Thanks!
-narke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130522/e6bda25d/attachment.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Does buildroot toolchain support GNU EABI?
2013-05-22 15:04 ` Woody Wu
@ 2013-05-22 15:54 ` Thomas Petazzoni
0 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2013-05-22 15:54 UTC (permalink / raw)
To: buildroot
Dear Woody Wu,
On Wed, 22 May 2013 23:04:31 +0800, Woody Wu wrote:
> > On Wed, 22 May 2013 11:33:56 +0200, Yegor Yefremov wrote:
> >
> > > BR toolchains are always EABI unless you specify it to generate OABI
> > > binaries. See Wikipaedia for EABI info:
> > > http://en.wikipedia.org/wiki/EABI#EABI
> >
> > The support for OABI has been deprecated in Buildroot since
> > c4cfa85b798cb744954d35aa05fa41e7a6956abd. I even believe it has been
> > deprecated or maybe removed from the latest version of gcc.
>
> Did you mean the GNU EABI is the OABI?
No. You have two ABIs:
* OABI, Original ABI (or "Old" ?), which was used by the Linux world
on ARM platforms before ARM (the company) standardized an ABI. This
ABI is deprecated, both in Buildroot and upstream in gcc, if I
remember correctly.
* EABI, Enhanced ABI, which is known in the Linux world as GNU EABI.
So when you have a arm-linux-gnueabi toolchain, or
arm-linux-uclibcgnueabi toolchains, those are using this EABI. This
ABI is standardized by ARM. And Buildroot always uses this ABI when
it generates a toolchain.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Does buildroot toolchain support GNU EABI?
2013-05-22 15:12 ` Woody Wu
@ 2013-05-22 17:37 ` Yann E. MORIN
2013-05-23 3:19 ` Woody Wu
0 siblings, 1 reply; 8+ messages in thread
From: Yann E. MORIN @ 2013-05-22 17:37 UTC (permalink / raw)
To: buildroot
Woody, All,
On 2013-05-22 23:12 +0800, Woody Wu spake thusly:
> ? 2013-5-22 PM5:34?"Yegor Yefremov" <yegorslists@googlemail.com>???
> >
> > On Wed, May 22, 2013 at 11:20 AM, Woody Wu <narkewoody@gmail.com> wrote:
> > > Hi,
> > >
> > > I found my buildroot toolchain is using EABI version 5. But I want to
> > > create executable run an existed system that is using GNU EABI.
> > >
> > > Actuall, I don't know what GNU EABI is. Can I configure buildroot to
> > > support this? And, how?
> >
> > BR toolchains are always EABI unless you specify it to generate OABI
> > binaries. See Wikipaedia for EABI info:
> > http://en.wikipedia.org/wiki/EABI#EABI
> >
> > Yegor
>
> Hi, Yegor
>
> When I compile my new program using buildroot toolchain and link it to a
> old shared library buit from another uClibC toolchain, it reported EABI
> version mismatch. My new program is EABI version 5, and the expected to be
> linked (-lfoo) is EABI version 0. When using readelf to check the library
> file, it reported it's GNU EABI. That why I thought I should try to make
> my buildroot to generate GNU EABI object. If I messed some concept, could
> you please tell me what should I do?
I don't know the details but "GNU EABI" (aka "EABI v0") was following
the draft EABI (there's also EABIv4 floating around with the same
shortcomings), and was incompatible with the final EABI. That's more or
less what I understood myself (but I may be wrong).
So, today's toolchains do not produce EABIv0 (nor EABIv4) binaries, only
EABIv5; this is the case for Buildroot-built toolchains.
If you want to target these libraries, you have to use the same toolchain
as was used to build your library. Buildroot won't be able to build one
for you.
Besides, if you wanted to build such a toolchain, you'd have to use the
tools that were current at the time, not the latest versions.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Does buildroot toolchain support GNU EABI?
2013-05-22 17:37 ` Yann E. MORIN
@ 2013-05-23 3:19 ` Woody Wu
0 siblings, 0 replies; 8+ messages in thread
From: Woody Wu @ 2013-05-23 3:19 UTC (permalink / raw)
To: buildroot
Understood. Thanks a lot!
On 23 May 2013 01:37, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> Woody, All,
>
> On 2013-05-22 23:12 +0800, Woody Wu spake thusly:
> > ? 2013-5-22 PM5:34?"Yegor Yefremov" <yegorslists@googlemail.com>???
> > >
> > > On Wed, May 22, 2013 at 11:20 AM, Woody Wu <narkewoody@gmail.com>
> wrote:
> > > > Hi,
> > > >
> > > > I found my buildroot toolchain is using EABI version 5. But I want to
> > > > create executable run an existed system that is using GNU EABI.
> > > >
> > > > Actuall, I don't know what GNU EABI is. Can I configure buildroot to
> > > > support this? And, how?
> > >
> > > BR toolchains are always EABI unless you specify it to generate OABI
> > > binaries. See Wikipaedia for EABI info:
> > > http://en.wikipedia.org/wiki/EABI#EABI
> > >
> > > Yegor
> >
> > Hi, Yegor
> >
> > When I compile my new program using buildroot toolchain and link it to a
> > old shared library buit from another uClibC toolchain, it reported EABI
> > version mismatch. My new program is EABI version 5, and the expected to
> be
> > linked (-lfoo) is EABI version 0. When using readelf to check the library
> > file, it reported it's GNU EABI. That why I thought I should try to make
> > my buildroot to generate GNU EABI object. If I messed some concept,
> could
> > you please tell me what should I do?
>
> I don't know the details but "GNU EABI" (aka "EABI v0") was following
> the draft EABI (there's also EABIv4 floating around with the same
> shortcomings), and was incompatible with the final EABI. That's more or
> less what I understood myself (but I may be wrong).
>
> So, today's toolchains do not produce EABIv0 (nor EABIv4) binaries, only
> EABIv5; this is the case for Buildroot-built toolchains.
>
> If you want to target these libraries, you have to use the same toolchain
> as was used to build your library. Buildroot won't be able to build one
> for you.
>
> Besides, if you wanted to build such a toolchain, you'd have to use the
> tools that were current at the time, not the latest versions.
>
> Regards,
> Yann E. MORIN.
>
> --
>
> .-----------------.--------------------.------------------.--------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics'
> conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___
> |
> | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is
> no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v
> conspiracy. |
>
> '------------------------------^-------^------------------^--------------------'
>
--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer
narke
public key at http://subkeys.pgp.net:11371 (narkewoody at gmail.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130523/a4a7a970/attachment-0001.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-05-23 3:19 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-22 9:20 [Buildroot] Does buildroot toolchain support GNU EABI? Woody Wu
2013-05-22 9:33 ` Yegor Yefremov
2013-05-22 11:51 ` Thomas Petazzoni
2013-05-22 15:04 ` Woody Wu
2013-05-22 15:54 ` Thomas Petazzoni
2013-05-22 15:12 ` Woody Wu
2013-05-22 17:37 ` Yann E. MORIN
2013-05-23 3:19 ` Woody Wu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.