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

Reply via email to