From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/2] compiler: fix clang and address sanitizer coexistance
Date: Thu, 4 Jan 2024 10:10:38 +0100 [thread overview]
Message-ID: <20240104091038.GM1318922@pengutronix.de> (raw)
In-Reply-To: <20240103101748.2629927-1-a.fatoum@pengutronix.de>
On Wed, Jan 03, 2024 at 11:17:46AM +0100, Ahmad Fatoum wrote:
> When built with clang + AddressSanitizer, global variables end up with
> a redzone that can break linker list elements.
>
> As clang isn't officially supported (yet), this can go into next.
>
> Ahmad Fatoum (2):
> compiler: define __ll_elem for linker list elements
> treewide: mark linker list elements with __ll_elem
Applied, thanks
Sascha
>
> drivers/clk/clk.c | 3 +-
> include/command.h | 4 +--
> include/deep-probe.h | 3 +-
> include/image-metadata.h | 4 +--
> include/init.h | 60 +++++++++++++++++-----------------
> include/linux/clk.h | 2 +-
> include/linux/compiler_types.h | 6 ++++
> include/linux/export.h | 11 +++----
> include/linux/pci.h | 4 +--
> include/magicvar.h | 7 ++--
> include/ratp_bb.h | 3 +-
> 11 files changed, 57 insertions(+), 50 deletions(-)
>
> --
> 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 |
prev parent reply other threads:[~2024-01-04 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-03 10:17 Ahmad Fatoum
2024-01-03 10:17 ` [PATCH 1/2] compiler: define __ll_elem for linker list elements Ahmad Fatoum
2024-01-03 10:17 ` [PATCH 2/2] treewide: mark linker list elements with __ll_elem Ahmad Fatoum
2024-01-04 9:10 ` 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=20240104091038.GM1318922@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