--- gcc-14.3.0.old/libsanitizer/asan/asan_linux.cpp +++ gcc-14.3.0/libsanitizer/asan/asan_linux.cpp @@ -66,6 +66,10 @@ # define ucontext_t xucontext_t # endif +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + typedef enum { ASAN_RT_VERSION_UNDEFINED = 0, ASAN_RT_VERSION_DYNAMIC,