* Re: Binutils compatilibty
@ 2005-03-26 19:17 George Haddad
2005-03-26 21:57 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: George Haddad @ 2005-03-26 19:17 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: binutils
The libs are Vx Works libs and I'm using CodeSourcery
arm-none-elf legacy ABI variant.
Actually I posted the same question to the
CodeSourcery and I'v got an answer that claims that
the ABI is slightly different in Vx Works case.
How can I test if the REL / RELA issue ? What is
actually this issue about ? debug symbols ? if so, I
can get rid of them.
--- Daniel Jacobowitz <drow@false.org> wrote:
> On Thu, Mar 24, 2005 at 03:48:27PM -0800, George
> Haddad wrote:
> > Hi All,
> >
> > I'm trying to link a file generated by GCC 3.4.x
> using
> > binutils 2.15 with a library previously generated
> by
> > GCC 2.9X and binutils 2.9.
> >
> > I get the following error message -
> > test.o: relocation size mismatch in libcortex.a
> .text
> > final link failed: Archive object file in wrong
> format
> >
> > This is probably a compatibility issue; is there
> any
> > workaround for this issue ? Script ?
> >
> > p.s. I don't have the sources for the library; so
> I
> > can't recompile with GCC 3.4.x and binutils 2.15.
>
> You didn't mention what target you are using. It
> sounds like one of
> your toolchains is REL, and the other is RELA; that
> is a pretty big
> incompatibility.
>
> --
> Daniel Jacobowitz
> CodeSourcery, LLC
>
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Binutils compatilibty
2005-03-26 19:17 Binutils compatilibty George Haddad
@ 2005-03-26 21:57 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-03-26 21:57 UTC (permalink / raw)
To: George Haddad; +Cc: binutils
On Fri, Mar 25, 2005 at 03:57:18PM -0800, George Haddad wrote:
> The libs are Vx Works libs and I'm using CodeSourcery
> arm-none-elf legacy ABI variant.
> Actually I posted the same question to the
> CodeSourcery and I'v got an answer that claims that
> the ABI is slightly different in Vx Works case.
>
> How can I test if the REL / RELA issue ? What is
> actually this issue about ? debug symbols ? if so, I
> can get rid of them.
They are incompatible relocation formats; look at the objects with
readelf and you should be able to identify the format used. The
CodeSourcery arm-none-elf compilers are not compatible with VxWorks.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 4+ messages in thread
* Binutils compatilibty
@ 2005-03-25 11:53 George Haddad
2005-03-25 15:35 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: George Haddad @ 2005-03-25 11:53 UTC (permalink / raw)
To: binutils
Hi All,
I'm trying to link a file generated by GCC 3.4.x using
binutils 2.15 with a library previously generated by
GCC 2.9X and binutils 2.9.
I get the following error message -
test.o: relocation size mismatch in libcortex.a .text
final link failed: Archive object file in wrong format
This is probably a compatibility issue; is there any
workaround for this issue ? Script ?
p.s. I don't have the sources for the library; so I
can't recompile with GCC 3.4.x and binutils 2.15.
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Binutils compatilibty
2005-03-25 11:53 George Haddad
@ 2005-03-25 15:35 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-03-25 15:35 UTC (permalink / raw)
To: George Haddad; +Cc: binutils
On Thu, Mar 24, 2005 at 03:48:27PM -0800, George Haddad wrote:
> Hi All,
>
> I'm trying to link a file generated by GCC 3.4.x using
> binutils 2.15 with a library previously generated by
> GCC 2.9X and binutils 2.9.
>
> I get the following error message -
> test.o: relocation size mismatch in libcortex.a .text
> final link failed: Archive object file in wrong format
>
> This is probably a compatibility issue; is there any
> workaround for this issue ? Script ?
>
> p.s. I don't have the sources for the library; so I
> can't recompile with GCC 3.4.x and binutils 2.15.
You didn't mention what target you are using. It sounds like one of
your toolchains is REL, and the other is RELA; that is a pretty big
incompatibility.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-26 0:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-26 19:17 Binutils compatilibty George Haddad
2005-03-26 21:57 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2005-03-25 11:53 George Haddad
2005-03-25 15:35 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).