Re: gcc 10.2.0 mtocrf instructions on Freescale P1014 (ppc)

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

 



On Thu, Apr 08, 2021 at 10:17:22AM +0000, Barbier, Renaud via Gcc-help wrote:
> Just found out that if I remove the argument -mcpu=8540 from the arch/powerpc/Makefile then the mtcrf instructions is used instead and the system boots.
> I will have to dig in the compiler to see what the consequence of this and if this is a possible solution.

You'll have to check how the assembler is called.  Add "-v" to the gcc
command you use to see.  You normally should get something like
"-a32 -me500 -many -mbig", but you probably get something else (or it
should work :-) )

It will also help if you told us the flags you used to configure.


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux