Summary: | dev-util/bpftool: fails to build if clang has default-stack-clash-protection enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Holger Hoffstätte <holger> |
Component: | Current packages | Assignee: | Jakov Smolić <jsmolic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flow |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=890004 https://bugs.gentoo.org/show_bug.cgi?id=889561 https://github.com/gentoo/gentoo/pull/29086 https://bugs.gentoo.org/show_bug.cgi?id=808165 https://bugs.gentoo.org/show_bug.cgi?id=889850 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Holger Hoffstätte
2023-01-13 09:51:03 UTC
It should be okay (and upstreamable) to just jam a -fno-stack-protector into the Makefiles. (In reply to Sam James from comment #1) > It should be okay (and upstreamable) to just jam a -fno-stack-protector into > the Makefiles. That's exactly what I've done. :) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6371538947cff10c0d6dba0f36dd93af9b555f9 commit e6371538947cff10c0d6dba0f36dd93af9b555f9 Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2023-01-13 10:04:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-13 10:22:34 +0000 dev-util/bftool: fix build with clang+ssp Closes: https://bugs.gentoo.org/890638 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/29086 Signed-off-by: Sam James <sam@gentoo.org> dev-util/bpftool/bpftool-5.19.12.ebuild | 1 + dev-util/bpftool/bpftool-6.0.12.ebuild | 5 +++++ dev-util/bpftool/files/5.19.12-no-stack-protector.patch | 14 ++++++++++++++ dev-util/bpftool/files/6.0.12-no-stack-protector.patch | 14 ++++++++++++++ 4 files changed, 34 insertions(+) Added upstream in: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=878625e1c7a10dfbb1fdaaaae2c4d2a58fbce627 Will probably land in 6.3. |