-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
error: invalid argument '-std=c++11' not allowed with 'C' #4821
Labels
Comments
dvyukov
added a commit
to dvyukov/syzkaller
that referenced
this issue
May 21, 2024
Add C++ compiler and flags to the target and build executor with the C++ compiler. This will be needed to merge syz-fuzzer in to syz-executor since it will be beefier and will most likely require linking in libc++. But also this should fix google#4821 since we won't use C++ flags when building C sources (we already had work-around in pkg/csource, but not in syz-extract). Fixes google#4821
Hi Joey, I cannot reproduce this, but I think #4823 should fix it.
|
dvyukov
added a commit
to dvyukov/syzkaller
that referenced
this issue
May 21, 2024
Add C++ compiler and flags to the target and build executor with the C++ compiler. This will be needed to merge syz-fuzzer in to syz-executor since it will be beefier and will most likely require linking in libc++. But also this should fix google#4821 since we won't use C++ flags when building C sources (we already had work-around in pkg/csource, but not in syz-extract). Fixes google#4821
dvyukov
added a commit
to dvyukov/syzkaller
that referenced
this issue
May 21, 2024
Add C++ compiler and flags to the target and build executor with the C++ compiler. This will be needed to merge syz-fuzzer in to syz-executor since it will be beefier and will most likely require linking in libc++. But also this should fix google#4821 since we won't use C++ flags when building C sources (we already had work-around in pkg/csource, but not in syz-extract). Fixes google#4821
dvyukov
added a commit
to dvyukov/syzkaller
that referenced
this issue
May 21, 2024
Add C++ compiler and flags to the target and build executor with the C++ compiler. This will be needed to merge syz-fuzzer in to syz-executor since it will be beefier and will most likely require linking in libc++. But also this should fix google#4821 since we won't use C++ flags when building C sources (we already had work-around in pkg/csource, but not in syz-extract). Fixes google#4821
dvyukov
added a commit
to dvyukov/syzkaller
that referenced
this issue
May 21, 2024
Add C++ compiler and flags to the target and build executor with the C++ compiler. This will be needed to merge syz-fuzzer in to syz-executor since it will be beefier and will most likely require linking in libc++. But also this should fix google#4821 since we won't use C++ flags when building C sources (we already had work-around in pkg/csource, but not in syz-extract). Fixes google#4821
dvyukov
added a commit
to dvyukov/syzkaller
that referenced
this issue
May 21, 2024
Add C++ compiler and flags to the target and build executor with the C++ compiler. This will be needed to merge syz-fuzzer in to syz-executor since it will be beefier and will most likely require linking in libc++. But also this should fix google#4821 since we won't use C++ flags when building C sources (we already had work-around in pkg/csource, but not in syz-extract). Fixes google#4821
dvyukov
added a commit
to dvyukov/syzkaller
that referenced
this issue
May 21, 2024
Add C++ compiler and flags to the target and build executor with the C++ compiler. This will be needed to merge syz-fuzzer in to syz-executor since it will be beefier and will most likely require linking in libc++. But also this should fix google#4821 since we won't use C++ flags when building C sources (we already had work-around in pkg/csource, but not in syz-extract). Fixes google#4821
github-merge-queue bot
pushed a commit
that referenced
this issue
May 21, 2024
Add C++ compiler and flags to the target and build executor with the C++ compiler. This will be needed to merge syz-fuzzer in to syz-executor since it will be beefier and will most likely require linking in libc++. But also this should fix #4821 since we won't use C++ flags when building C sources (we already had work-around in pkg/csource, but not in syz-extract). Fixes #4821
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With this comment, syz-extract failed: error: invalid argument '-std=c++11' not allowed with 'C'.
It looks like it caused by
After comment -std=c++11, syz-extract succeed.
Can you suggest or provide a common fix?
The text was updated successfully, but these errors were encountered: