FYI: LLVM Runtime Crash - Mailing list pgsql-hackers

From David E. Wheeler
Subject FYI: LLVM Runtime Crash
Date
Msg-id FB327392-926F-4922-9292-BBBEB16383DB@justatheory.com
Whole thread Raw
Responses Re: FYI: LLVM Runtime Crash
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Direct SSL connection and ALPN loose ends
Next
From: Sven Klemm
Date:
Subject: [PATCH] Improve error message when trying to lock virtual tuple.