Re: ppc64le: SLOF failed to rebuild: error: unrecognized argument in option '-mtune=generic'

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

 



On Fri, Jan 21, 2022 at 10:43:16AM +0100, Florian Weimer wrote:
> * 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.

Yes that works!

But I don't quite understand what "implicit build flags" means here.
It's not using %configure.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
_______________________________________________
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux