Skip to content
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

[elfutils] fix build failure #12465

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

evverx
Copy link
Contributor

@evverx evverx commented Sep 9, 2024

  • [elfutils] pass -Wno-error properly

It fixes a bug where -Wno-error was passed along with CXX, which in turn led to -Wno-error $CXX being run instead of just $CXX.
elfutils still fails to compile when libarchive is present but it doesn't
affect OSS-Fuzz builds: https://sourceware.org/bugzilla/show_bug.cgi?id=32155.
(It regressed in
https://sourceware.org/git/?p=elfutils.git;a=commit;h=b9fd1dda0ba6ddf7dd14ff6745ea3e884a2f553a)

  • [elfutils] link fuzz-dwfl-core with libeu

Fixes https://oss-fuzz-build-logs.storage.googleapis.com/log-dbd59f4a-34f9-417e-ad2f-55ddd4995c79.txt
It's a follow-up to https://sourceware.org/git/?p=elfutils.git;a=commit;h=d6443d1a4df6057f9012d105037f52daaca911f1

Copy link

github-actions bot commented Sep 9, 2024

evverx has previously contributed to projects/elfutils. The previous PR was #9745

@evverx
Copy link
Contributor Author

evverx commented Sep 9, 2024

It seems elfutils has been failing to compile on OSS-Fuzz for a couple of weeks but looks like it has never been reported by OSS-Fuzz. I've just checked and I don't seem to have received any notifications either. The only place where the status is shown is https://oss-fuzz-build-logs.storage.googleapis.com/index.html#elfutils.

@evverx evverx changed the title [elfutils] pass -Wno-error properly [elfutils] fix build failure Sep 9, 2024
It fixes a bug where -Wno-error was passed along with CXX, which in turn
led to `-Wno-error $CXX` being run instead of just `$CXX`.

elfutils still fails to compile when libarchive is present but it doesn't
affect OSS-Fuzz builds: https://sourceware.org/bugzilla/show_bug.cgi?id=32155.
(It regressed in
https://sourceware.org/git/?p=elfutils.git;a=commit;h=b9fd1dda0ba6ddf7dd14ff6745ea3e884a2f553a)
@DavidKorczynski DavidKorczynski merged commit 692979d into google:master Sep 10, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants