Closed
Bug 2052441
Opened 4 months ago
Closed 4 months ago
lld-link: error: undefined symbol: private: virtual void __cdecl clang::PluginASTAction::anchor(void)
Categories
(Firefox Build System :: Toolchains, defect)
Firefox Build System
Toolchains
Tracking
(firefox154 fixed)
RESOLVED
FIXED
154 Branch
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 external file)
[task 2026-07-02T03:16:32.092+00:00] mozmake[4]: Entering directory 'D:/task_178296105890632/obj-spider/build/clang-plugin'
[task 2026-07-02T03:16:32.092+00:00] lld-link: error: undefined symbol: private: virtual void __cdecl clang::PluginASTAction::anchor(void)
[task 2026-07-02T03:16:32.097+00:00] >>> referenced by D:/task_178296105890632/obj-spider/build/clang-plugin/host_CustomAttributes.obj:(const CustomAttributesAction::`vftable')
[task 2026-07-02T03:16:32.097+00:00] >>> referenced by D:/task_178296105890632/obj-spider/build/clang-plugin/host_MozCheckAction.obj:(const MozCheckAction::`vftable')
[task 2026-07-02T03:16:32.097+00:00] lld-link: error: undefined symbol: private: virtual void __cdecl llvm::raw_ostream::anchor(void)
[task 2026-07-02T03:16:32.097+00:00] >>> referenced by D:/task_178296105890632/obj-spider/build/clang-plugin/host_OverrideBaseCallChecker.obj:(const llvm::raw_string_ostream::`vftable')
[task 2026-07-02T03:16:32.097+00:00] lld-link: error: undefined symbol: private: virtual void __cdecl llvm::raw_pwrite_stream::anchor(void)
[task 2026-07-02T03:16:32.097+00:00] >>> referenced by clangASTMatchers.lib(ASTMatchersInternal.cpp.obj):(const llvm::raw_svector_ostream::`vftable')
[task 2026-07-02T03:16:32.097+00:00] mozmake[4]: *** [D:/task_178296105890632/src/config/rules.mk:515: clang-plugin.dll] Error 1
[task 2026-07-02T03:16:32.097+00:00] D:/task_178296105890632/fetches/clang/bin/lld-link.exe -DLL -OUT:clang-plugin.dll @D:/task_178296105890632/obj-spider/build/clang-plugin/clang-plugin_dll.list -MACHINE:X64 -LIBPATH:D:/task_178296105890632/fetches/clang/lib -brepro -DEBUG -PDB:clang-plugin.pdb -MACHINE:X64 -LIBPATH:'D:\task_178296105890632\fetches\clang\lib\clang\22\lib\windows' -LIBPATH:D:/task_178296105890632/fetches/vs/VC/Tools/MSVC/14.50.35717/lib/x64 -LIBPATH:D:/task_178296105890632/fetches/vs/VC/Tools/MSVC/14.50.35717/atlmfc/lib/x64 -LIBPATH:'D:/task_178296105890632/fetches/vs/Windows Kits/10/Lib/10.0.26100.0/um/x64' -LIBPATH:'D:/task_178296105890632/fetches/vs/Windows Kits/10/Lib/10.0.26100.0/ucrt/x64' clangASTMatchers.lib clang.lib
[task 2026-07-02T03:16:32.098+00:00] mozmake[4]: Leaving directory 'D:/task_178296105890632/obj-spider/build/clang-plugin'
| Assignee | ||
Comment 1•4 months ago
|
||
We make an arbitrary change to clang-22.json because patches are not
taken into account when computing the toolchain index hash.
Pushed by mh@glandium.org:
https://github.com/mozilla-firefox/firefox/commit/05065788b08d
https://hg.mozilla.org/integration/autoland/rev/f010204d3f33
Adjust the symbol filtering patch to allow symbols the plugin ends up using. r=firefox-build-system-reviewers,sergesanspaille
Comment 3•4 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 4 months ago
status-firefox154:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•