We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Qemu fails to build locally when I try this: python infra/helper.py build_fuzzers --sanitizer=introspector qemu
python infra/helper.py build_fuzzers --sanitizer=introspector qemu
Looks like meson fails testing the compiler with the additional FI added flags. The error says:
Running compile: Working directory: /src/qemu/build-oss-fuzz/meson-private/tmpu34y99wp Code: #ifdef __apple_build_version__ # if __clang_major__ < 12 || (__clang_major__ == 12 && __clang_minor__ < 0) # error You need at least XCode Clang v12.0 to compile QEMU # endif #else # if __clang_major__ < 10 || (__clang_major__ == 10 && __clang_minor__ < 0) # error You need at least Clang v10.0 to compile QEMU # endif #endif ----------- Command line: `clang -m64 /src/qemu/build-oss-fuzz/meson-private/tmpu34y99wp/testfile.c -o /src/qemu/build-oss-fuzz/meson-private/tmpu34y99wp/output.obj -c -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -O0 -flto -fno-inline-functions -fuse-ld=gold -Wno-unused-command-line-argument -fsanitize=fuzzer-no-link -g -Wno-error=unused-command-line-argument -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -O0 -flto -fno-inline-functions -fuse-ld=gold -Wno-unused-command-line-argument -fsanitize=fuzzer-no-link -g -Wno-error=unused-command-line-argument -U __OPTIMIZE__ -D_FILE_OFFSET_BITS=64 -O0 -Werror=implicit-function-declaration -Werror=unknown-warning-option -Werror=unused-command-line-argument -Werror=ignored-optimization-argument -std=gnu11` -> 1 stderr: clang: error: argument unused during compilation: '-fuse-ld=gold' [-Werror,-Wunused-command-line-argument] clang: error: argument unused during compilation: '-fuse-ld=gold' [-Werror,-Wunused-command-line-argument] ----------- ../meson.build:289:4: ERROR: Problem encountered: You either need GCC v7.4 or Clang v10.0 (or XCode Clang v12.0) to compile QEMU
The text was updated successfully, but these errors were encountered:
I think it's related to #12167. It should be possible to get it to work by tweaking various flags OSS-Fuzz passes and adding *_LD flags: #12081
Sorry, something went wrong.
No branches or pull requests
Qemu fails to build locally when I try this:
python infra/helper.py build_fuzzers --sanitizer=introspector qemu
Looks like meson fails testing the compiler with the additional FI added flags. The error says:
The text was updated successfully, but these errors were encountered: