Hackers,
FYI, I wanted to try using PostgreSQL with LLVM on my Mac, but the backend repeatedly crashes during `make check`. I
foundthe same issue in master and REL_16_STABLE. The crash message is:
FATAL: fatal llvm error: Unsupported stack probing method
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
connection to server was lost
Same thing appears in the log output. I poked around and found a similar bug[1] was fixed in LLVM in December, but as
I’mgetting it with the latest release from 2 weeks ago, something else might be going on. I’ve opened a new LLVM bug
report[2]for the issue.
I don’t *think* it’s something that can be fixed in Postgres core. This is mostly in FYI in case anyone else runs into
thisissue or knows something more about it.
In the meantime I’ll be building without --with-llvm.
Best,
David
[1]: https://github.com/llvm/llvm-project/issues/57171
[2]: https://github.com/llvm/llvm-project/issues/95804