Re: Disable LTO for now ?

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

 



Sergio writes:

> Hello opencv [1] build also failed around LTO

Looking at the build logs:

https://koji.fedoraproject.org/koji/taskinfo?taskID=48055082

For the build.log that ends with:

lto1: error: '__builtin_altivec_vadub' requires the '-mcpu=power9' option
lto1: fatal error: target specific builtin not available
compilation terminated.

The build uses a mix of compiler options.

-mcpu=power8 -mtune=power8
and
-mcpu=power9 -mtune=power9
and sometimes
-mcpu=power8 ... -mcpu=power9 -mtune=power9

I suspect this works at the level of individual object (*.o)
generation but this might cause problems when a mix of -mcpu=power8
and -mcpu=power9 objects are combined in LTO optimization.

The compiler might get confused.
_______________________________________________
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




[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