https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #14 from Jason Vas Dias ---
RE: Comment #13:
> You said that Andi Kleen had a comment. Can you point me to it?
Here is a quote, from LKML message :
Subject: Re: [PATCH v4.16-rc5 2/2] x86/vdso: \
VDSO should handle
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #13 from Andy Lutomirski ---
I find this whole discussion very confusing. The problem has nothing to do
with relocations AFAICT. The problem is that gcc is (as requested) generating
retpolines, and it's set up to do it by calling
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #12 from Jason Vas Dias ---
RE: Comment #11 :
> notrace int _RETPOLINE_FUNC_ATTR_
> __vdso_clock_gettime(clockid_t clock, struct timespec *ts)
should of course be
notrace _RETPOLINE_FUNC_ATTR_
int
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #11 from Jason Vas Dias ---
In reply to Comment #9 :
Thanks Andy -
I think it is because when the retpoline flags are enabled ,
the 'static inline' function calls in vclock_gettime.c
have default function attributes which differ
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #10 from H.J. Lu ---
(In reply to Andy Lutomirski from comment #9)
> I haven't fully dug into this, but I do one one immediate question: why is
> GCC generating a jump table for a five-entry switch statement if retpolines
> are on?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
Andy Lutomirski changed:
What|Removed |Added
CC||luto at kernel dot org
--- Comment #9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #8 from Jason Vas Dias ---
Thanks for the clarification, and I hope the kernel
developers stop compiling the mainline vDSO with
-mindirect-branch=thunk-extern -mindirect-branch-register
.
But there are still a few things I am
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
H.J. Lu changed:
What|Removed |Added
Resolution|INVALID |MOVED
--- Comment #7 from H.J. Lu ---
It is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
Richard Biener changed:
What|Removed |Added
Target||x86_64-*-*, i?86-*-*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #5 from H.J. Lu ---
(In reply to H.J. Lu from comment #3)
> (In reply to Jason Vas Dias from comment #2)
> > Thanks H.J. -
> >
> > RE:
> > > vDSO isn't compiled with -mindirect-branch=thunk-extern in kernel
> > > 4.16-rc5. Why
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #4 from H.J. Lu ---
Created attachment 43685
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43685=edit
Kernel patch for 4.16-rc5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #3 from H.J. Lu ---
(In reply to Jason Vas Dias from comment #2)
> Thanks H.J. -
>
> RE:
> > vDSO isn't compiled with -mindirect-branch=thunk-extern in kernel
> > 4.16-rc5. Why isn't it the case for you?
>
> All I know is , when
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
--- Comment #2 from Jason Vas Dias ---
Thanks H.J. -
RE:
> vDSO isn't compiled with -mindirect-branch=thunk-extern in kernel
> 4.16-rc5. Why isn't it the case for you?
All I know is , when submitting a patched vclock_gettime.c
in which the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84908
H.J. Lu changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
14 matches
Mail list logo