Open Bug 1941482 Opened 1 month ago Updated 26 days ago

[clang-trunk] Perma lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AnnotateAttr::classof(class clang::Attr const *)

Categories

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

defect

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

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


[task 2025-01-14T04:07:15.017Z] 04:07:15     INFO -  D:/task_173682645881930/fetches/clang/bin/lld-link.exe -DLL -OUT:clang-plugin.dll host_ArithmeticArgChecker.obj host_AssertAssignmentChecker.obj host_CanRunScriptChecker.obj host_CustomAttributes.obj host_CustomTypeAnnotation.obj host_DanglingOnTemporaryChecker.obj host_DiagnosticsMatcher.obj host_ExplicitImplicitChecker.obj host_ExplicitOperatorBoolChecker.obj host_FopenUsageChecker.obj host_GlobalVariableInitializationChecker.obj host_JSHandleRootedTypedefChecker.obj host_KnownLiveChecker.obj host_KungFuDeathGripChecker.obj host_LoadLibraryUsageChecker.obj host_MozCheckAction.obj host_MustOverrideChecker.obj host_MustReturnFromCallerChecker.obj host_NaNExprChecker.obj host_NeedsNoVTableTypeChecker.obj host_NoAddRefReleaseOnReturnChecker.obj host_NoAutoTypeChecker.obj host_NoDuplicateRefCntMemberChecker.obj host_NoExplicitMoveConstructorChecker.obj host_NoNewThreadsChecker.obj host_NoPrincipalGetURI.obj host_NoUsingNamespaceMozillaJavaChecker.obj host_NonMemMovableMemberChecker.obj host_NonMemMovableTemplateArgChecker.obj host_NonParamInsideFunctionDeclChecker.obj host_NonTrivialTypeInFfiChecker.obj host_OverrideBaseCallChecker.obj host_OverrideBaseCallUsageChecker.obj host_ParamTraitsEnumChecker.obj host_RefCountedCopyConstructorChecker.obj host_RefCountedInsideLambdaChecker.obj host_RefCountedThisInsideConstructorChecker.obj host_ScopeChecker.obj host_SprintfLiteralChecker.obj host_TrivialCtorDtorChecker.obj host_TrivialDtorChecker.obj host_VariableUsageHelpers.obj host_ThirdPartyPaths.obj  -DEBUG -PDB:clang-plugin.pdb -MACHINE:X64 -LIBPATH:D:/task_173682645881930/fetches/clang/lib -brepro -LIBPATH:D:/task_173682645881930/fetches/vs/VC/Tools/MSVC/14.39.33519/lib/x64 -LIBPATH:D:/task_173682645881930/fetches/vs/VC/Tools/MSVC/14.39.33519/atlmfc/lib/x64 -LIBPATH:'D:/task_173682645881930/fetches/vs/Windows Kits/10/Lib/10.0.22621.0/um/x64' -LIBPATH:'D:/task_173682645881930/fetches/vs/Windows Kits/10/Lib/10.0.22621.0/ucrt/x64'  clangASTMatchers.lib clang.lib
[task 2025-01-14T04:07:15.018Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AnnotateAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.018Z] 04:07:15     INFO -  >>> referenced by host_CustomAttributes.obj:(struct CustomAttributesSet __cdecl CacheAttributes(class clang::Decl const *))
[task 2025-01-14T04:07:15.018Z] 04:07:15     INFO -  >>> referenced by host_CustomAttributes.obj:(bool __cdecl clang::operator==(class clang::specific_attr_iterator<class clang::AnnotateAttr, class llvm::SmallVector<class clang::Attr *, 4>>, class clang::specific_attr_iterator<class clang::AnnotateAttr, class llvm::SmallVector<class clang::Attr *, 4>>))
[task 2025-01-14T04:07:15.019Z] 04:07:15     INFO -  >>> referenced by host_CustomAttributes.obj:(bool __cdecl clang::operator==(class clang::specific_attr_iterator<class clang::AnnotateAttr, class llvm::SmallVector<class clang::Attr *, 4>>, class clang::specific_attr_iterator<class clang::AnnotateAttr, class llvm::SmallVector<class clang::Attr *, 4>>))
[task 2025-01-14T04:07:15.019Z] 04:07:15     INFO -  >>> referenced 4 more times
[task 2025-01-14T04:07:15.019Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: class llvm::StringRef __cdecl clang::AnnotateAttr::getAnnotation(void) const
[task 2025-01-14T04:07:15.019Z] 04:07:15     INFO -  >>> referenced by host_CustomAttributes.obj:(struct CustomAttributesSet __cdecl CacheAttributes(class clang::Decl const *))
[task 2025-01-14T04:07:15.020Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) private: static class llvm::Registry<class clang::PluginASTAction>::node *llvm::Registry<class clang::PluginASTAction>::Tail
[task 2025-01-14T04:07:15.020Z] 04:07:15     INFO -  >>> referenced by host_CustomAttributes.obj:(_GLOBAL__sub_I_CustomAttributes.cpp)
[task 2025-01-14T04:07:15.020Z] 04:07:15     INFO -  >>> referenced by host_MozCheckAction.obj:(_GLOBAL__sub_I_MozCheckAction.cpp)
[task 2025-01-14T04:07:15.020Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) private: static class llvm::Registry<class clang::PluginASTAction>::node *llvm::Registry<class clang::PluginASTAction>::Head
[task 2025-01-14T04:07:15.021Z] 04:07:15     INFO -  >>> referenced by host_CustomAttributes.obj:(_GLOBAL__sub_I_CustomAttributes.cpp)
[task 2025-01-14T04:07:15.021Z] 04:07:15     INFO -  >>> referenced by host_MozCheckAction.obj:(_GLOBAL__sub_I_MozCheckAction.cpp)
[task 2025-01-14T04:07:15.021Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::ConstInitAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.022Z] 04:07:15     INFO -  >>> referenced by host_GlobalVariableInitializationChecker.obj:(bool __cdecl clang::operator==(class clang::specific_attr_iterator<class clang::ConstInitAttr, class llvm::SmallVector<class clang::Attr *, 4>>, class clang::specific_attr_iterator<class clang::ConstInitAttr, class llvm::SmallVector<class clang::Attr *, 4>>))
[task 2025-01-14T04:07:15.022Z] 04:07:15     INFO -  >>> referenced by host_GlobalVariableInitializationChecker.obj:(bool __cdecl clang::operator==(class clang::specific_attr_iterator<class clang::ConstInitAttr, class llvm::SmallVector<class clang::Attr *, 4>>, class clang::specific_attr_iterator<class clang::ConstInitAttr, class llvm::SmallVector<class clang::Attr *, 4>>))
[task 2025-01-14T04:07:15.023Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::ConstInitAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.023Z] 04:07:15     INFO -  >>> referenced 1 more times
[task 2025-01-14T04:07:15.023Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AArch64SVEPcsAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.023Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AArch64SVEPcsAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.024Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AArch64SVEPcsAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.024Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AArch64VectorPcsAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.024Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AArch64VectorPcsAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.025Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AArch64VectorPcsAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.025Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AMDGPUFlatWorkGroupSizeAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.025Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUFlatWorkGroupSizeAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.025Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUFlatWorkGroupSizeAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.026Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AMDGPUKernelCallAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.026Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUKernelCallAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.026Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUKernelCallAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.027Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AMDGPUMaxNumWorkGroupsAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.027Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUMaxNumWorkGroupsAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.027Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUMaxNumWorkGroupsAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.027Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AMDGPUNumSGPRAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.028Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUNumSGPRAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.028Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUNumSGPRAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.029Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AMDGPUNumVGPRAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.029Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUNumVGPRAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.029Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUNumVGPRAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.029Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AMDGPUWavesPerEUAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.030Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUWavesPerEUAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.030Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AMDGPUWavesPerEUAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.030Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::ARMInterruptAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.030Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::ARMInterruptAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.031Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::ARMInterruptAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.031Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AVRInterruptAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.031Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AVRInterruptAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.031Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AVRInterruptAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.032Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AVRSignalAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.032Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AVRSignalAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.032Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AVRSignalAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.032Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AbiTagAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.033Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AbiTagAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.033Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AbiTagAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.033Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AcquireCapabilityAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.033Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AcquireCapabilityAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.034Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AcquireCapabilityAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.034Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AcquireHandleAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.034Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AcquireHandleAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.034Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AcquireHandleAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.035Z] 04:07:15    ERROR -  lld-link: error: undefined symbol: __declspec(dllimport) public: static bool __cdecl clang::AcquiredAfterAttr::classof(class clang::Attr const *)
[task 2025-01-14T04:07:15.035Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AcquiredAfterAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.036Z] 04:07:15     INFO -  >>> referenced by host_RefCountedInsideLambdaChecker.obj:(decltype(auto) __cdecl llvm::cast<class clang::AcquiredAfterAttr, class clang::Attr>(class clang::Attr *))
[task 2025-01-14T04:07:15.036Z] 04:07:15    ERROR -  lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
[task 2025-01-14T04:07:15.036Z] 04:07:15    ERROR -  mozmake[4]: *** [D:/task_173682645881930/build/src/config/rules.mk:523: clang-plugin.dll] Error 1
Blocks: clang-20

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Toolchains' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Toolchains
You need to log in before you can comment on or make changes to this bug.