On Fri, Jan 21, 2022 at 09:29:57AM +0000, Tom Hughes wrote:
> On 21/01/2022 09:08, Richard W.M. Jones wrote:
> 
> >https://koji.fedoraproject.org/koji/taskinfo?taskID=81468000
> >
> >This seems like a compiler bug or a bug in the standard switches being
> >added by RPM on ppc64le.  SLOF itself does not appear to add or adjust
> >the -mtune flag.
> 
> That's not even a ppc64le build, it's an x86_64 build using a cross
> compiler from the gcc-powerpc64-linux-gnu package - that is actually
> still 11.2 and hasn't been upgraded to 12 yet.

Oh dear, sorry for not spotting that :-(

> I don't know where -mtune=generic comes from but a normal ppc64le
> build uses -mcpu=power8 -mtune=power8 as it's defaults.

With your clue above I can now reproduce this locally.  It seems to be
connected to redhat-rpm-config -- upgrading that to
redhat-rpm-config-209-1.fc36.noarch causes the problem.

But I wonder if this is actually a problem with it using the x86-64
build flags for the cross build ...

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to