This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Binutils compatilibty
- From: Daniel Jacobowitz <drow at false dot org>
- To: George Haddad <grg_hddd at yahoo dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 24 Mar 2005 20:22:43 -0500
- Subject: Re: Binutils compatilibty
- References: <20050324234827.90729.qmail@web42108.mail.yahoo.com>
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