On 21/01/2022 09:29, Tom Hughes via devel 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.
I don't know where -mtune=generic comes from but a normal ppc64le
build uses -mcpu=power8 -mtune=power8 as it's defaults.
Ah the problem is that -mtune=generic is the x864_64 default which
the spec is passing in CFLAGS because you're building on x86_64 but
that doesn't work for the ppc64 cross compiler.
Tom
--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure