lkml.org 
[lkml]   [2017]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: x86/insn-eval: negative return value?
On Wed, Nov 22, 2017 at 3:06 PM, Borislav Petkov <bp@suse.de> wrote:
> On Wed, Nov 22, 2017 at 01:48:55PM -0800, Kees Cook wrote:
>> Cool, yeah, that looks like it would solve it. Thanks for taking a look!
>
> Btw, how do you build the kernel with clang?
>
> I tried:
>
> make -j9 CC=clang HOSTCC=clang
>
> and clang here is:
>
> clang version 3.8.1-24 (tags/RELEASE_381/final)

clang-5.0 appears to be the minimum version needed (to produce
something that actually boots and runs).

$ clang-5.0 --version
clang version 5.0.0-3 (tags/RELEASE_500/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

-Kees

--
Kees Cook
Pixel Security

\
 
 \ /
  Last update: 2017-11-23 00:18    [W:0.087 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site