mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] compiler: fix clang and address sanitizer coexistance
@ 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
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ahmad Fatoum @ 2024-01-03 10:17 UTC (permalink / raw)
  To: barebox

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

 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-04  9:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-03 10:17 [PATCH 0/2] compiler: fix clang and address sanitizer coexistance 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 ` [PATCH 0/2] compiler: fix clang and address sanitizer coexistance Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox