Public bug reported:
This package fails to build when built against LLVM 22:
In file included from /<<PKGBUILDDIR>>/lib/llvm/data.h:5,
from /<<PKGBUILDDIR>>/lib/llvm/compiler.cpp:10:
/<<PKGBUILDDIR>>/lib/llvm/llvm.h: In static member function ‘static unsigned
int WasmEdge::LLVM::Core::getMetadataKind(std::string_view)’:
/<<PKGBUILDDIR>>/lib/llvm/llvm.h:250:27: error: ‘unsigned int
LLVMGetMDKindID(const char*, unsigned int)’ is deprecated: Use of the global
context is deprecated, use LLVMGetMDKindIDInContext instead
[-Werror=deprecated-declarations]
250 | return LLVMGetMDKindID(Name.data(), static_cast<unsigned
int>(Name.size()));
|
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is because LLVMGetMDKindID got deprecated in LLVM 22.
Full buildlog: https://launchpadlibrarian.net/873853073/buildlog_ubuntu-
stonking-amd64.wasmedge_0.16.1+dfsg-1_BUILDING.txt.gz
** Affects: wasmedge (Ubuntu)
Importance: Undecided
Assignee: Max Gilmour (maxgmr)
Status: Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164560
Title:
Build failure against LLVM 22 due to deprecated function
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wasmedge/+bug/2164560/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs