From 6bc4b1342f154db51a8a22cf0c60ff5fca8b488f Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 7 Apr 2025 17:32:08 -0300 Subject: [PATCH] stdlib: Avoid strlen plt with clang-20 --- sysdeps/generic/symbol-hacks.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sysdeps/generic/symbol-hacks.h b/sysdeps/generic/symbol-hacks.h index e4b6816240..b3c536e8ac 100644 --- a/sysdeps/generic/symbol-hacks.h +++ b/sysdeps/generic/symbol-hacks.h @@ -29,6 +29,7 @@ asm ("__strcpy_chk = __GI___strcpy_chk"); asm ("strcpy = __GI_strcpy"); asm ("strncpy = __GI_strncpy"); asm ("strcat = __GI_strcat"); +asm ("strlen = __GI_strlen"); /* clang might generate an abort call when cleanup functions (set by __attribute__ ((cleanup)) calls functions not marked as nothrow. -- 2.47.2