Closed Bug 1857400 Opened 3 years ago Closed 3 years ago

Perma lld-link: error: /failifmismatch: mismatch detected for 'RuntimeLibrary':

Categories

(Firefox Build System :: Toolchains, defect, P5)

defect

Tracking

(firefox120 fixed)

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

Details

Attachments

(1 file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=431517228&repo=toolchains
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/U61i-zRdST-PE2bQ5XZ8SA/runs/0/artifacts/public/logs/live_backing.log


[task 2023-10-06T00:45:04.911Z] 00:45:04    ERROR -  lld-link: error: /failifmismatch: mismatch detected for 'RuntimeLibrary':
[task 2023-10-06T00:45:04.911Z] 00:45:04     INFO -  >>> D:/task_169655051727875/workspace/obj-build/build/clang-plugin/host_VariableUsageHelpers.obj has value MT_StaticRelease
[task 2023-10-06T00:45:04.912Z] 00:45:04     INFO -  >>> clangASTMatchers.lib(ASTMatchersInternal.cpp.obj) has value MD_DynamicRelease
[task 2023-10-06T00:45:04.912Z] 00:45:04    ERROR -  mozmake[4]: *** [D:/task_169655051727875/build/src/config/rules.mk:512: clang-plugin.dll] Error 1

The latter was deprecated in
https://github.com/llvm/llvm-project/commit/c6bd873403a8ac6538a3fe3b3c2fe39c16b146a6
and removed more recently in
https://github.com/llvm/llvm-project/commit/618e5d2c2d8e0c288c37b883ece553ca4f994c2e

Fortunately, the former is works with LLVM 17, so we don't need to
special case, we can use the same as for trunk.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/c7ae783d9be0 Use CMAKE_MSVC_RUNTIME_LIBRARY instead of LLVM_USE_CRT_RELEASE. r=firefox-build-system-reviewers,sergesanspaille
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: