This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: as: unrecognized option `-c68020'


In article <199710220043.TAA19960.cygnus.crossgcc@eesn12.ews.uiuc.edu> you write:
>> _floatdixf
>> /tmp/cca12355.s: Assembler messages:
>> /tmp/cca12355.s:70: Error: operands mismatch -- statement `tstl a4'

Gcc and GNU as both used to have a bug in that they generated/accepted this
instruction when they should not have.

The GNU as bug is fixed in binutils 2.8.

The gcc bug was fixed at the same time as the GNU as bug, but there hasn't
been a gcc release in a long time, and hence there is no gcc release that
has this bug fixed.  The result is that if you use gcc 2.7 with binutils 2.8
then one of the libgcc.a multilibs fails to build because gcc generated
an instruction that GNU as rightly rejects.

This gcc bug is fixed in both the EGCS gcc sources and gcc2 sources, so
the next release of either of them will not have this bug.

If someone cares enough, you could get a copy of an EGCS snapshot,
extract out the patch that fixes this, and then create a patch file
for gcc 2.7.x.

Jim