Subject: Re: ELF
To: None <port-arm32@NetBSD.ORG>
From: Stefan Voss <voss@yoda.in-berlin.de>
List: port-arm32
Date: 06/12/1998 11:05:54
In message <357FC6D1.167E@cpt.univ-mrs.fr>,
Vincent Penne wrote:
> [...]
>
> I have tried the new binutils with the patch for ARM. It seems to be
> broken for aout format. When I compile a simple hello world program, the
> program does not actually crash, but it print something like "llo world
> !" instead of the right string ...
Using the old gcc 2.7.2.2 and the new binutils (for aout) a simple hello
world works fine for me.
The problem that I have is that ld complains about unresolved __fxstat and
__xstat symbols (e.g. in cccp.o) when bulding the stage2 compiler. When
building the stage1 compiler the cccp.o contains only _fstat and _stat
symbols which can be resolved by /usr/lib/libc.a. However there are no
__fxstat or __xstat symbols in any of the libs in /usr/lib. The symbols
sneak in when including /usr/include/sys/stat.h.
How are these symbols supposed to be resolved?
>
> Vincent PENNE.
>
Regards,
Stefan
--
Stefan Voss
(voss@yoda.in-berlin.de)