[RS6000] PR96493, powerpc local call linkage failure

Segher Boessenkool segher@kernel.crashing.org
Fri Aug 7 14:48:55 GMT 2020


On Fri, Aug 07, 2020 at 12:58:08PM +0930, Alan Modra wrote:
> On Thu, Aug 06, 2020 at 05:34:03PM -0500, Segher Boessenkool wrote:
> > > +/* { dg-do run } */
> > > +/* { dg-options "-mdejagnu-cpu=powerpc64 -O2" } */
> > 
> > That is not a -mcpu= value you should ever use.  Please just pick a real
> > existing CPU, maybe p7 or p8 since this requires ELFv2 anyway?  Or, what
> > does it need here?  It isn't clear to me.  But you don't want a pseudo-
> > POWER3 with ELFv2 :-)
> 
> What I was trying to say by using cpu=powerpc64 is that this test has
> minimal requirements on the required cpu level to run the test.
> That's all.

That would be -mcpu=powerpc64le, which is the exact same as -mcpu=power8.
-mcpu=powerpc64 is something close to 620/630 (power3, but it is not
exactly the same as -mcpu=power3) :-)

> Changed to power8 and committed.

Thanks!


Segher


More information about the Gcc-patches mailing list