-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
complie error #57980
Comments
Could you please specify which version of LLVM this is for, the full compiler invocation and the compiler version you are using? Without that, it is impossible to say if it is an issue with your build environment or an issue in LLVM |
gutaotao@x1-1:/workspace/llvm-project/compiler-rt/lib/fuzzer$ uname -a $CXX -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c &done gutaotao@x1-1:/workspace/llvm-project/compiler-rt/lib/fuzzer$ uname $CXX -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c &done gutaotao@x1-1:/workspace/llvm-project/compiler-rt/lib/fuzzer$ clang --version |
commit bebc969 (HEAD -> main, origin/main, origin/HEAD)
|
Hello, thank you for your reply. |
It looks like you are using manual build commands. Please make sure to use the same flags as if configured by cmake when building.
This doesn't look correct, latest LLVM requires C++17 to build: https://llvm.org/docs/CodingStandards.html#c-standard-versions |
llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:861:68: error: invalid suffix 's' on integer constant
/TimeOfUnit=/duration_cast(0s), {0}, DFT,
1 error generated.
The text was updated successfully, but these errors were encountered: