Skip to contentSkip to conversation

gcc-sanitizers.inc: fix for aarch64

PATCH In review [email protected] 2 participants 3 messages Jan 21, 2025 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc-sanitizers.inc: fix for aarch64

From: Thomas Roos <[email protected]>

This is the issue fixed:
https://github.com/llvm/llvm-project/issues/65144

---
 meta/recipes-devtools/gcc/gcc-sanitizers.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/gcc/gcc-sanitizers.inc +2 -0
index 8c98e9cf8a..ae05ae6dfd 100644
@@ -11,6 +11,8 @@ EXTRA_OECONF_PATHS = "\
     --with-build-sysroot=${STAGING_DIR_TARGET} \
 "
 
+CXXFLAGS:append:aarch64 = " -DSANITIZER_CAN_USE_ALLOCATOR64=0"
+
 do_configure () {
     rm -rf ${B}/${TARGET_SYS}/libsanitizer/
     mkdir -p ${B}/${TARGET_SYS}/libsanitizer/
Signature · 1 line
2.34.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 2 lines · Thomas

Right. So should I create a v2 of that patch?

Please, and put the bug link in a comment so the rationale doesn’t have to be dug out of git history.

Ross