On 10. 05. 24 15:58, Siddhesh Poyarekar wrote:
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?
It first showed up in https://src.fedoraproject.org/rpms/python3.13/pull-request/58
The Ci has all the logs, e.g.
https://kojipkgs.fedoraproject.org//work/tasks/8452/117468452/build.log
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).
That's what I thought as well.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
--
_______________________________________________
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