This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
any m68k gurus out there?
- From: kevin diggs <diggskevin38 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 27 Feb 2011 12:16:44 -0600
- Subject: any m68k gurus out there?
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