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 09:08:35AM +0000, 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.
> 
> Rich.
> 
> powerpc64-linux-gnu-gcc -m64  -I../libc/include -DCPU_PPCP7 -I/builddir/build/BUILD/SLOF-qemu-slof-20210217/include -I/builddir/build/BUILD/SLOF-qemu-slof-20210217/include/ppcp7 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o elf32.o -c /builddir/build/BUILD/SLOF-qemu-slof-20210217/lib/libelf/elf32.c
> make[3]: Leaving directory '/builddir/build/BUILD/SLOF-qemu-slof-20210217/lib/libelf'
> powerpc64-linux-gnu-gcc: error: unrecognized argument in option '-mtune=generic'
> powerpc64-linux-gnu-gcc: note: valid arguments to '-mtune=' are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan

gcc has never supported -mtune=generic on ppc*, and redhat-rpm-config
doesn't list it either for ppc* (only i386/i586/i686/x86_64).
But if something puts that into CFLAGS, I'd expect all ppc64le builds to
fail, not just this one.

	Jakub
_______________________________________________
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