lkml.org 
[lkml]   [2019]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Problems with arm64 compat vdso
From
Hi Vincenzo,
We also are having issues building the cross vDSO with Clang:
https://github.com/ClangBuiltLinux/linux/issues/595

It seems that `LINUXINCLUDE` in arch/arm64/kernel/vdso32/Makefile is including
arm64 headers in the arm part of the vdso32 build, which causes Clang to error
on the arm64 inline asm constraints being used in arm64.

I think if the issue Will described is fixed, it will be simpler for us to fix
the rest to get it to build w/ Clang.

https://github.com/ClangBuiltLinux/linux/issues/595#issuecomment-509874891
is the basis of such a patch.

Clang ships with all backends on by default, and uses a `-target <triple>` to
cross compile; so the idea of passing two cross compiler binaries for a compat
vDSO build doesn't really apply to Clang.

\
 
 \ /
  Last update: 2019-09-24 20:07    [W:0.117 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site