mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH master 1/3] .clangd: black-list -mabi=lp64 to enable LSP for 64-bit ARM
Date: Tue, 23 May 2023 09:08:51 +0200	[thread overview]
Message-ID: <20230523070851.GB17518@pengutronix.de> (raw)
In-Reply-To: <20230522134210.2561620-1-a.fatoum@pengutronix.de>

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@pengutronix.de>
> ---

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 |



      parent reply	other threads:[~2023-05-23  7:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-22 13:42 Ahmad Fatoum
2023-05-22 13:42 ` [PATCH master 2/3] .gitattributes: import diff directives from Linux v6.3 Ahmad Fatoum
2023-05-22 13:42 ` [PATCH master 3/3] .clang-format: import kernel coding style rules " Ahmad Fatoum
2023-05-23  7:08 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230523070851.GB17518@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox