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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Since the switch to rust 1.42.0 we cannot use libfuzzer anymore on our codebase.
to repro:
git clone https://github.com/google/oss-fuzz.git python infra/helper.py shell libra compile
This will compile with clang 10 on ubuntu xenial:
Step 8/10 : RUN clang -v ---> Running in ef911c30fa25 clang version 10.0.0 (https://github.com/llvm/llvm-project.git e84b7a5fe230e42b8e6fe451369874a773bf1867) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/local/bin Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5 Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0 Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6 Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.0.0 Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Candidate multilib: x32;@mx32 Selected multilib: .;@m64 Removing intermediate container ef911c30fa25 ---> 76978329e057 Step 9/10 : RUN cat /etc/os-release ---> Running in 1e87f0c344d7 NAME="Ubuntu" VERSION="16.04.6 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.6 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial
I'm getting this error:
Step #4: error: linking with `cc` failed: exit code: 1 // ... Step #4: = note: /rust/rustup/toolchains/1.42.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0b278345638bce90.rlib(compiler_builtins-0b278345638bce90.compiler_builtins.c31qu5fm-cgu.0.rcgu.o): In function `__muloti4': Step #4: /cargo/registry/src/github.heygears.com-1ecc6299db9ec823/compiler_builtins-0.1.25/src/macros.rs:253: multiple definition of `__muloti4' Step #4: /tmp/rustcjXWpoV/liblibrocksdb_sys-eab822076e906c87.rlib(int128_builtins.cpp.o):int128_builtins.cpp:(.text.__muloti4+0x0): first defined here Step #4: collect2: error: ld returned 1 exit status Step #4: Step #4: Step #4: error: aborting due to previous error Step #4: Step #4: error: could not compile `libra_fuzzer_fuzz`. Step #4: Step #4: To learn more, run the command again with --verbose. Step #4: ******************************************************************************** Step #4: Failed to build. Step #4: To reproduce, run: Step #4: python infra/helper.py build_image libra Step #4: python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 libra Step #4: ********************************************************************************
The text was updated successfully, but these errors were encountered:
not sure why you filed #70489 again, but closing as a duplicate
Sorry, something went wrong.
No branches or pull requests
Since the switch to rust 1.42.0 we cannot use libfuzzer anymore on our codebase.
to repro:
This will compile with clang 10 on ubuntu xenial:
I'm getting this error:
The text was updated successfully, but these errors were encountered: