Re: [PATCH] jit: fix build with LLVM-21
От
Holger Hoffstätte
Тема
Re: [PATCH] jit: fix build with LLVM-21
Дата
Msg-id
44718204-61a5-91b1-5574-154ff7a019f6@applied-asynchrony.com
Ответ на
Re: [PATCH] jit: fix build with LLVM-21 (Holger Hoffstätte)
Список
Дерево обсуждения
[PATCH] jit: fix build with LLVM-21 Holger Hoffstätte <holger@applied-asynchrony.com>
Re: [PATCH] jit: fix build with LLVM-21 Peter Eisentraut <peter@eisentraut.org>
Re: [PATCH] jit: fix build with LLVM-21 Holger Hoffstätte <holger@applied-asynchrony.com>
Re: [PATCH] jit: fix build with LLVM-21 Peter Eisentraut <peter@eisentraut.org>
Re: [PATCH] jit: fix build with LLVM-21 Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Re: [PATCH] jit: fix build with LLVM-21 Holger Hoffstätte <holger@applied-asynchrony.com>
Re: [PATCH] jit: fix build with LLVM-21 Holger Hoffstätte <holger@applied-asynchrony.com>
Re: [PATCH] jit: fix build with LLVM-21 Holger Hoffstätte <holger@applied-asynchrony.com>
Re: [PATCH] jit: fix build with LLVM-21 Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Re: [PATCH] jit: fix build with LLVM-21 Thomas Munro <thomas.munro@gmail.com>
Re: [PATCH] jit: fix build with LLVM-21 Holger Hoffstätte <holger@applied-asynchrony.com>
Re: [PATCH] jit: fix build with LLVM-21 Daniel Gustafsson <daniel@yesql.se>
Re: [PATCH] jit: fix build with LLVM-21 Thomas Munro <thomas.munro@gmail.com>
Re: [PATCH] jit: fix build with LLVM-21 Thomas Munro <thomas.munro@gmail.com>
On 2025-09-12 14:47, Holger Hoffstätte wrote: > I temporarily removed the __arch64__ guard and can reproduce the above error, > using either gcc-15 or clang-21. It seems this llvm monkey patch backport thing > is affected by the following commit in llvm-21: > https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90 > > Trying to figure out how to adapt the code.. Try the attached patch on your homebrew setup. This compiles and passes "make check", though I do not think it runs any jit tests. So intead I dropped this into my 17.6, disabled the __arch64__ guard to make sure I get the backport class, rebuilt and ran the jit on/off example from the docs. This showed the expected performance difference with jit=on vs. off. cheers Holger
В списке pgsql-hackers по дате отправления