In file included from /home/yansendao/git/jdk-asan-clang/src/hotspot/share/precompiled/precompiled.hpp:34: In file included from /home/yansendao/git/jdk-asan-clang/src/hotspot/share/classfile/classLoaderData.hpp:28: In file included from /home/yansendao/git/jdk-asan-clang/src/hotspot/share/memory/allocation.hpp:29: In file included from /home/yansendao/git/jdk-asan-clang/src/hotspot/share/nmt/memTag.hpp:28: In file included from /home/yansendao/git/jdk-asan-clang/src/hotspot/share/utilities/globalDefinitions.hpp:30: In file included from /home/yansendao/git/jdk-asan-clang/src/hotspot/share/utilities/forbiddenFunctions.hpp:38: /home/yansendao/git/jdk-asan-clang/src/hotspot/os/posix/forbiddenFunctions_posix.hpp:43:1: error: attribute declaration must precede definition [-Werror,-Wignored-attributes] 43 | FORBID_C_FUNCTION(char* realpath(const char*, char*), "use os::realpath"); | ^ /home/yansendao/git/jdk-asan-clang/src/hotspot/share/utilities/compilerWarnings.hpp:109:18: note: expanded from macro 'FORBID_C_FUNCTION' 109 | extern "C" { [[deprecated(Alternative)]] Signature; } | ^ /usr/include/bits/stdlib.h:37:8: note: previous definition is here 37 | __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) | ^ 1 error generated.