On 08/03/10 11:20, Somebody in the thread at some point said:
> _thumb1_case_sqi.o: ELF 32-bit LSB relocatable, no
machine,
> version 1 (SYSV), not stripped
I'm not sure either, but I would e.g. try capturing the output of
the
build process somewhere to make sure that, say, _thumb1_case_sqi.o and
_thumb1_case_uhi.o are compiled/assembled with the same command line
options. If they are, I'd check whether there are directives in one
of the files that aren't in the other.
Thanks. I found out a little more, if I pass
-Wl,--accept-unknown-input-arch
on the gcc commandline, it's happy and falls through to complaining
about the lack of cross libc which is correct for me. So it seems it
has the idea that the libgcc.a file has "unknown arch" and that makes
the problem.
Unfortunately there's no simple way of working around that by glueing
that option into the defaults I could find.
I studied your 4.1 libgcc.a contents as well, there isn't any thumb
related routine in that old version but nothing in that guy reports "no
machine".
Maybe it's a genuine issue with 4.5.0 libgcc build somehow, I'll try
your suggestion.
-Andy