Ok, new, different, error:
g++ -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute 
-Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local 
-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g 
-g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/postgresql-17-17.6-1ubuntu1 
-std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden 
-I../../../../src/include -I/<<PKGBUILDDIR>>/build/../src/include -Wdate-time 
-D_FORTIFY_SOURCE=3 -D_GNU_SOURCE  -I/usr/include/libxml2  
-D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS 
-DEXPERIMENTAL_KEY_INSTRUCTIONS -D_GNU_SOURCE -I/usr/lib/llvm-21/include   -c 
-o llvmjit_wrap.o 
/<<PKGBUILDDIR>>/build/../src/backend/jit/llvm/llvmjit_wrap.cpp
/<<PKGBUILDDIR>>/build/../src/backend/jit/llvm/llvmjit_wrap.cpp: In function 
‘LLVMOrcOpaqueObjectLayer* 
LLVMOrcCreateRTDyldObjectLinkingLayerWithSafeSectionMemoryManager(LLVMOrcExecutionSessionRef)’:
/<<PKGBUILDDIR>>/build/../src/backend/jit/llvm/llvmjit_wrap.cpp:61:114: error: 
no matching function for call to 
‘llvm::orc::RTDyldObjectLinkingLayer::RTDyldObjectLinkingLayer(llvm::orc::ExecutionSession&,
 
LLVMOrcCreateRTDyldObjectLinkingLayerWithSafeSectionMemoryManager(LLVMOrcExecutionSessionRef)::<lambda()>)’
   61 |                 *unwrap(ES), [] { return 
std::make_unique<llvm::backport::SectionMemoryManager>(nullptr, true); }));
      |                                                                         
                                         ^
/<<PKGBUILDDIR>>/build/../src/backend/jit/llvm/llvmjit_wrap.cpp:61:114: note: 
there is 1 candidate
In file included from 
/<<PKGBUILDDIR>>/build/../src/backend/jit/llvm/llvmjit_wrap.cpp:30:
/usr/lib/llvm-21/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:58:3:
 note: candidate 1: 
‘llvm::orc::RTDyldObjectLinkingLayer::RTDyldObjectLinkingLayer(llvm::orc::ExecutionSession&,
 GetMemoryManagerFunction)’
   58 |   RTDyldObjectLinkingLayer(ExecutionSession &ES,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/llvm-21/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h:59:53:
 note: no known conversion for argument 2 from 
‘LLVMOrcCreateRTDyldObjectLinkingLayerWithSafeSectionMemoryManager(LLVMOrcExecutionSessionRef)::<lambda()>’
 to ‘llvm::orc::RTDyldObjectLinkingLayer::GetMemoryManagerFunction’ {aka 
‘llvm::unique_function<std::unique_ptr<llvm::RuntimeDyld::MemoryManager>(const 
llvm::MemoryBuffer&)>’}
   59 |                            GetMemoryManagerFunction GetMemoryManager);
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: llvmjit_wrap.o] Error 1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129810

Title:
  postgresql-17 fails to build with llvm-21

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-17/+bug/2129810/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to