http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442
Summary: does not build multilib on m68k Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libffi AssignedTo: unassig...@gcc.gnu.org ReportedBy: j...@gcc.gnu.org I am trying to build Go to target m68k-rtems. This target builds multilib with many variations. There are multiple instructions in libffi/src/m68k/sysv.S which are not supported in all CPU models. The build currently fails for "-m68000" as the CPU model. /users/joel/test-gcc/gcc-svn/libffi/src/m68k/sysv.S:88: Error: operands mismatch -- statement `tst.l %a1' ignored /users/joel/test-gcc/gcc-svn/libffi/src/m68k/sysv.S:106: Error: invalid instruction for this architecture; needs 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], 547x [5470, 5471, 5472, 5473, 5474, 5475], 548x [5480, 5481, 5482, 5483, 5484, 5485] -- statement `fmove.s %fp0,(%a1)' ignored /users/joel/test-gcc/gcc-svn/libffi/src/m68k/sysv.S:112: Error: invalid instruction for this architecture; needs 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], 547x [5470, 5471, 5472, 5473, 5474, 5475], 548x [5480, 5481, 5482, 5483, 5484, 5485] -- statement `fmove.d %fp0,(%a1)' ignored /users/joel/test-gcc/gcc-svn/libffi/src/m68k/sysv.S:118: Error: invalid instruction for this architecture; needs M68K fpu (68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360]) -- statement `fmove.x %fp0,(%a1)' ignored /users/joel/test-gcc/gcc-svn/libffi/src/m68k/sysv.S:181: Error: invalid instruction for this architecture; needs 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], 547x [5470, 5471, 5472, 5473, 5474, 5475], 548x [5480, 5481, 5482, 5483, 5484, 5485] -- statement `fmove.s (%a0),%fp0' ignored