any m68k gurus out there?

kevin diggs diggskevin38@gmail.com
Sun Feb 27 19:04:00 GMT 2011


Hi,

While trying to REBUILD gcc 3.4.6 (using a -O0 version of itself) on a
68040 (Quadra 700, NetBSD 1.6.1) I am getting:

floatformat.s: Assembler messages:
floatformat.s:1047: Error: operands mismatch -- statement `fmovem.l
%fpcr,%d5' ignored
floatformat.s:1163: Error: operands mismatch -- statement `fmovem.l
%fpcr,%d5' ignored

during the build of libiberty. Ignore the .s. That is from some test
runs on floatformat.c

The base compiler is 2.95.3. When I tried to build binutils 2.16.1 using:

-O2 -m68040 -fomit-frame-pointer

I ended up with a lot of segfault and/or illegal instruction
utilities. Switching to:

-O0 -m68040

did seem to work. So I used the same to build the compiler. I then
tried to rebuild the compiler with its -O0 self. Except this time I
also tried to use the new binutils.

I checked the M68000PRM.pdf and this does seem to be a valid
instruction. Is the assembler messed up?

Thanks!

kevin



More information about the Gcc-help mailing list