Closed Bug 1769178 Opened 2 years ago Closed 2 years ago

clang-15: error: unknown argument: '-flegacy-pass-manager'

Categories

(Core :: Fuzzing, defect)

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: glandium, Assigned: truber)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Bug 1765543 added a task that uses --disable-new-pass-manager, but that option is not supported anymore with clang trunk.

Blocks: 1769180

New pass manager is not supported by AFL or AFL++ from what we know. I assume that they will work on porting their instrumentation pass over to the new system now that the old one will be removed. Truber, can you check with the AFL++ authors?

Flags: needinfo?(jschwartzentruber)

It looks like this is already done as of the past couple months (AFLplusplus#1100). I'm trying now.

Assignee: nobody → jschwartzentruber
Attachment #9277405 - Attachment description: WIP: Bug 1769178 - Remove disable-new-pass-manager flag. → Bug 1769178 - Remove disable-new-pass-manager flag.
Status: NEW → ASSIGNED

This builds and instruments the code for AFL. With -flegacy-pass-manager the build was successful but the code wasn't actually being instrumented.

The instrumentation breaks xpcshell startup which is used during packaging for normandy, so I've disabled that step for now and logged 1770223.

Flags: needinfo?(jschwartzentruber)
See Also: → 1770223

Depends on D146869

AFL++ compiler wrapper depends on the compiler version used to build it. Is there a way to invalidate the toolchain when linux64-clang version changes?

Flags: needinfo?(mh+mozilla)

(In reply to Jesse Schwartzentruber (:truber) from comment #6)

AFL++ compiler wrapper depends on the compiler version used to build it. Is there a way to invalidate the toolchain when linux64-clang version changes?

That happens automatically.

Flags: needinfo?(mh+mozilla)
Pushed by jdschwa@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/d0f9411a6874
Remove disable-new-pass-manager flag. r=firefox-build-system-reviewers,glandium
https://hg.mozilla.org/integration/autoland/rev/c39743347cdb
Update to current AFL++ stable. r=firefox-build-system-reviewers,glandium
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: