Amurray was so kind to point out that we already do not use it on -m32
/* Enable code instrumentation of control-flow transfers.
Available on x86 and x86_64. */
#ifndef CF_PROTECTION_SPEC
# ifdef DIST_DEFAULT_CF_PROTECTION
# define CF_PROTECTION_SPEC "
%{!m32:%{!fcf-protection*:%{!fno-cf-protection:-fcf-protection}}}"
# else
# define CF_PROTECTION_SPEC ""
# endif
#endif
And that maybe it would need to be:
# define CF_PROTECTION_SPEC " %{!m16:%{!m32:%{!fcf-protection*:%{!fno-
cf-protection:-fcf-protection}}}}"
** Changed in: qemu (Ubuntu)
Importance: Undecided => High
** Changed in: qemu (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940029
Title:
Default of fcf-protection should only be enabled where it can work
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-11/+bug/1940029/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs