https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816
--- Comment #6 from peterz at infradead dot org ---
(In reply to H.J. Lu from comment #5)
> (In reply to Andrew Cooper from comment #4)
> > I've worked around this in Xen with:
> > https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;
> > h=9d4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105160
peterz at infradead dot org changed:
What|Removed |Added
CC||peterz at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105160
--- Comment #7 from peterz at infradead dot org ---
(In reply to peterz from comment #6)
> Happy accident; I've been wanting to allow doing something like:
>
> static __always_inline __pure bool arch_static_branch(struct static_key *
> const key
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107048
Bug ID: 107048
Summary: GCC lacks -fsanitize=kcfi
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952
--- Comment #25 from peterz at infradead dot org ---
(In reply to H.J. Lu from comment #24)
> Should I submit the current patches?
Yes, I'd say so. Once merged I'll send a kernel patch to use
-mindirect-branch-cs-prefix for all RETPOLINE builds.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102953
peterz at infradead dot org changed:
What|Removed |Added
CC||peterz at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952
peterz at infradead dot org changed:
What|Removed |Added
CC||peterz at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952
--- Comment #9 from peterz at infradead dot org ---
Created attachment 51683
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51683&action=edit
kernel patch to test -mharden-sls=all
$ make O=defconfig CC=gcc-12.0.0 arch/x86/entry/common.o
..
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952
--- Comment #10 from peterz at infradead dot org ---
(In reply to H.J. Lu from comment #4)
> Created attachment 51679 [details]
> A patch to add -mindirect-branch-cs-prefix
>
> It adds CS prefix to call and jmp to thunk when converting indirect
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952
--- Comment #13 from peterz at infradead dot org ---
(In reply to H.J. Lu from comment #12)
> (In reply to peterz from comment #9)
> > Created attachment 51683 [details]
> > kernel patch to test -mharden-sls=all
> >
> > $ make O=defconfig CC=gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952
--- Comment #20 from peterz at infradead dot org ---
(In reply to H.J. Lu from comment #19)
> Created attachment 51685 [details]
> The v4 patch to add -mharden-sls=
That looks to do the right thing! Let me go write more validation stuff to
doubl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952
--- Comment #21 from peterz at infradead dot org ---
(In reply to H.J. Lu from comment #19)
> Created attachment 51685 [details]
> The v4 patch to add -mharden-sls=
I seem to have found one 'funny':
kernel/bpf/core.o: warning: objtool: ___bpf_p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816
--- Comment #12 from peterz at infradead dot org ---
On Tue, May 24, 2022 at 04:06:08PM +, cvs-commit at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816
>
> --- Comment #11 from CVS Commits ---
> The master bran
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279
--- Comment #8 from peterz at infradead dot org ---
On Fri, Mar 14, 2025 at 08:44:19AM +, torva...@linux-foundation.org wrote:
> Now, I agree that the kernel could likely solve issues by just "don't check so
> much, then". But our build-time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279
--- Comment #10 from peterz at infradead dot org ---
On Fri, Mar 14, 2025 at 09:41:07AM +, jakub at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119279
>
> --- Comment #9 from Jakub Jelinek ---
> (In reply to peterz
15 matches
Mail list logo