Re: annocheck: -D_FORTIFY_SOURCE=2 detected, expected -D_FORTIFY_SOURCE=3

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

 



On 2024-05-10 06:41, Miro Hrončok wrote:
Hello,

when we build Python 3.13 with -O3

https://fedoraproject.org/wiki/Changes/Python_built_with_gcc_O3

I see the following annocheck problem:

Hardened: /usr/bin/python3.13: MAYB: test: fortify, reason: -D_FORTIFY_SOURCE=2 detected, expected -D_FORTIFY_SOURCE=3 (lto)

Looks like an annobin issue; do you you have build logs someone can look at?

The C flags have:

  -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -O3

Is -D_FORTIFY_SOURCE=3 not comaptible with -O3? Do I need to do somethign about this?

_FORTIFY_SOURCE (any level) should work perfectly with -O (any level).

Thanks,
Sid
--
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue




[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