Re: [PATCH master 1/3] .clangd: black-list -mabi=lp64 to enable LSP for 64-bit ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 22, 2023 at 03:42:08PM +0200, Ahmad Fatoum wrote:
> clangd invoked via Language Server Protocol chokes on -mabi=lp64, which
> we use for ARM64 build. We should eventually fix that by having barebox
> itself compile with clang, but till then, let's drop a .clangd file that
> instructs clangd to ignore this unsupported option. Pointers and longs
> are still 64-bit, presumably because that's the default AArch64 ABI.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
> ---

Applied, thanks

Sascha

>  .clangd | 2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 .clangd
> 
> diff --git a/.clangd b/.clangd
> new file mode 100644
> index 000000000000..58e83cd2871a
> --- /dev/null
> +++ b/.clangd
> @@ -0,0 +1,2 @@
> +CompileFlags:
> +  Remove: -mabi=lp64
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux