[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc/mfidoa again, or binutils?



On Mon, 1 Nov 2010, Thorsten Glaser wrote:

> Hi,
> 
> I believe this may be a bug in our binutils:
> 
> root@ara2:~ # cat >x.s
>         .text
>         fmove.l %d1, %fpcr
> root@ara2:~ # as x.s
> root@ara2:~ # as x.s -mfidoa
> x.s: Assembler messages:
> x.s:2: 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 move.l %d1,%fpcr' ignored
> 
> Is it possible as thinks -mfidoa has no FPU? Andreas? Kazu?
> This would explain the gcc-4.4 build aborting in libfortran
> for the mfidoa multilib/multiarch…

I've reported the bug.
http://sourceware.org/bugzilla/show_bug.cgi?id=12180

Does the libfortran file compile OK with -mcpu32 instead of -mfidoa?

Finn

> 
> Thanks in advance,
> //mirabilos
> 

Reply to: