Closed Bug 1614367 Opened 6 years ago Closed 5 years ago

clang 10 thinks mac builds don't have zlib support

Categories

(Firefox Build System :: Toolchains, defect)

defect
Not set
normal

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: away, Assigned: away)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Mac PGO training tasks fail with clang 10 because:

[task 2020-02-07T21:15:17.166Z] warning: default_1337_random_3135265719759031432_0.profraw: Profile uses zlib compression but the profile reader was built without zlib support
[task 2020-02-07T21:15:17.166Z] error: No profiles could be merged.

This happens even if I add -DLLVM_ENABLE_ZLIB=ON to build-clang.py (!).

Best as I can tell, this was a longstanding typo. This went unnoticed because cmake didn't do any interesting finds -- until recently in LLVM 10, where zlib is now queried via find_package.

Assignee: nobody → dmajor
Status: NEW → ASSIGNED
Pushed by dmajor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7647ec7dd264 Fix CMAKE_FIND_ROOT_PATH in build-clang for mac r=glandium
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Regressions: 1616576
Blocks: clang-10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: