--- gcc-svn-270786.old/libsanitizer/asan/asan_linux.cc +++ gcc-svn-270786/libsanitizer/asan/asan_linux.cc @@ -63,6 +63,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,