-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
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
linking with cc
failed: exit code: 1
#23
Comments
Hi again, for this one, I really need more information about your environment and what you're doing:
|
Previously, I build myProject with simple cargo build command and than do cargo hfuzz run myProject. This will produce above error. I think, may be I should build it with cargo hfuzz build. So, I proceed with following sequence of commands;
|
This is a really weird error.. Maybe it has something to do with WSL2. I only tested my code on WSL1, never on WSL2. |
I've also encountered a (related?) issue on MacOS. Trying to compile results in this error:
|
I can reproduce this error with any version >= I'm running MacOS Catalina (10.15.6). |
@saarshah did u ever find a fix for this? im getting this error on wsl2 when trying to use tokio-console |
I want to fuzz my project (developed under rust), but when I run this command
cargo hfuzz run myProject
. it show following error.error: linking with
cc
failed: exit code: 1note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/saarshah/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib"
.
.
.
.
undefined reference to '__sanitizer_cov_trace_div4'
collect2: error: ld returned 1 exit status
Any help to how to fuzz my project...
The text was updated successfully, but these errors were encountered: