* Tom Hughes via devel:

> 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.

It's probably a result of implicit %set_build_flags.

%undefine _auto_set_build_flags

should fix it.

Thanks,
Flroian
_______________________________________________
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