search for: attribute__

Displaying 6 results from an estimated 6 matches for "attribute__".

2018 Feb 07
0
retpoline mitigation and 6.0
...rs. > PATH=${HOME}/src/clang/build/bin:${PATH} > make CC=clang defconfig > make CC=clang -j80 > > The build is a bit noisy right now due to 66f793099a63 ("x86/retpoline: Avoid > retpolines for built-in __init functions"), since clang doesn't understand > "__attribute__((indirect_branch("keep")))". I fixed that (well, worked around it) in my tree. > > > I can disable the i915 driver, but the "invalid output size for > > > constraint '=q'" happens all over the place. Ultimately this means > > > that I ca...
2018 Feb 07
3
retpoline mitigation and 6.0
...vm make -j80 To build the kernel: PATH=${HOME}/src/clang/build/bin:${PATH} make CC=clang defconfig make CC=clang -j80 The build is a bit noisy right now due to 66f793099a63 ("x86/retpoline: Avoid retpolines for built-in __init functions"), since clang doesn't understand "__attribute__((indirect_branch("keep")))". > > > I can disable the i915 driver, but the "invalid output size for > > constraint '=q'" happens all over the place. Ultimately this means > > that I can not really test a 32-bit build, though it would not build...
2018 Feb 07
2
retpoline mitigation and 6.0
On Wed, 2018-02-07 at 21:55 +0000, David Woodhouse via llvm-dev wrote: > Can you take care of filing the tickets for %V0 and "=q" > and attribute__((indirect_branch("keep"))) please? With those fixed, I > think we should be OK again. Here's %V0 support, which makes the hypervisor guest support build. diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index 4da7d59df46..f498c098288 100644 --- a/l...
2018 Feb 07
2
retpoline mitigation and 6.0
...86_indirect_thunk_ecx __x86_indirect_thunk_edx > I've added __x86_indirect_thunk for 32-bit now, and if > that's *all* the Clang is using then I'll possibly switch GCC into that > mode too. > > Can you take care of filing the tickets for %V0 and "=q" > and attribute__((indirect_branch("keep"))) please? With those fixed, I > think we should be OK again. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180207/57454d18/attachment.html>
2018 Feb 07
0
retpoline mitigation and 6.0
...David? Want someone on our end to pick it up? On Wed, Feb 7, 2018 at 3:27 PM David Woodhouse <dwmw2 at infradead.org> wrote: > On Wed, 2018-02-07 at 21:55 +0000, David Woodhouse via llvm-dev wrote: > > Can you take care of filing the tickets for %V0 and "=q" > > and attribute__((indirect_branch("keep"))) please? With those fixed, I > > think we should be OK again. > > Here's %V0 support, which makes the hypervisor guest support build. > > diff --git a/lib/Target/X86/X86AsmPrinter.cpp > b/lib/Target/X86/X86AsmPrinter.cpp > index 4da7d5...
2018 Feb 07
0
retpoline mitigation and 6.0
On Wed, 2018-02-07 at 10:11 -0800, Guenter Roeck wrote: > On Wed, Feb 07, 2018 at 10:49:25AM +0000, David Woodhouse wrote: > > Hm, please could we also have the %V asm constraint modifier? That > > allows us to emit calls to the thunks from inline asm using the > > register that the compiler chose for us: > > > >  asm volatile ("call