This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: trying tx49 ref4955 design
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "e.stiebler" <emu at ecubics dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 15 Feb 2006 18:44:56 +0100
- Subject: Re: [ECOS] trying tx49 ref4955 design
- References: <43F365B9.1070400@ecubics.com>
On Wed, Feb 15, 2006 at 10:32:41AM -0700, e.stiebler wrote:
> Hi all,
> tried my first steps with ecos on a Toshiba TX49 (MIPS).
> According to "building a toolchain" I built:
> binutils-1.16.1,
> gcc-3.4.4,
> and got the ecos version from the AnonCVS.
>
> When I try to compile it with make I get during the compiles something
> like :
> mips-tx49-elf-gcc -g -mips2 -EB -mabi=eabi -nostdlib -Wl,--gc-sections
> -Wl,-static -L/AD1/SHARED/ECOS/test/install/lib -Ttarget.ld -o
> /AD1/SHARED/ECOS/test/install/bin/gdb_module.img src/stubrom/gdb_module.o
> /AD1/SHARED/ECOS/gnutools/mips-tx49-elf/lib/gcc/mips-tx49-elf/3.4.4/../../../../
> mips-tx49-elf/bin/ld:
> /AD1/SHARED/ECOS/gnutools/mips-tx49-elf/lib/gcc/mips-tx49-
> elf/3.4.4/libgcc.a(_udivdi3.o): ABI mismatch: linking O32 module with
> previous EABI32 modules
>
> Any idea, what I did wrong ?
libgcc.a is provided by the compiler. It looks like libgcc.a is
compiled using a different Application Binary Interface than what eCos
was compiled with.
Try looking at the options you can pass to the configure script when
you build the tool chain. Is there anything to control the ABI it
uses?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss