lkml.org 
[lkml]   [2022]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] selftests: kvm: Fix a compile error in selftests/kvm/rseq_test.c
On Wed, Aug 03, 2022 at 09:58:51PM +0800, Jinrong Liang wrote:
> My ldd version is (GNU libc) 2.28, and I get a compilation error in this case.
> But I use another ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31 is compiling fine.
> This shows that compilation errors may occur in different GNU libc environments.
> Would it be more appropriate to use syscall for better compatibility?

OK, it's a pity, but no big deal to use syscall().

Reviewed-by: Andrew Jones <andrew.jones@linux.dev>

Thanks,
drew

\
 
 \ /
  Last update: 2022-08-03 16:26    [W:0.189 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site