Closed Bug 1541943 Opened 6 years ago Closed 6 years ago

Revert clang back to 7 for Linux fuzzing builds that are used with libFuzzer

Categories

(Firefox Build System :: Task Configuration, defect)

x86_64
Linux
defect
Not set
blocker

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: decoder, Assigned: decoder)

References

Details

Attachments

(1 file)

Since the upgrade to Clang 8, our libFuzzer fuzzing is broken. Whenever we try to startup libFuzzer, we get

ERROR: The size of coverage PC tables does not match the
number of instrumented PCs. This might be a compiler bug,
please contact the libFuzzer developers.
Also check https://bugs.llvm.org/show_bug.cgi?id=34636
for possible workarounds (tl;dr: don't use the old GNU ld)

So far, I was neither able to reproduce this locally, nor able to fix it by upgrading our libFuzzer version.

I propose we downgrade to Clang 7 for the affected builds until we found the proper solution. I have a patch ready to do so.

Pushed by choller@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/20750a2dc85b Temporarily switch libFuzzer builds back to clang-7. r=froydnj
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Blocks: 1544400
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: