--with-llvm on 32-bit platforms?

From: Dmitry Mityugov <d(dot)mityugov(at)postgrespro(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: --with-llvm on 32-bit platforms?
Date: 2025-09-04 21:32:05
Message-ID: 0a9f0be59171c2e8f1b3bc10f4fcf267@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

It seems that when I add --with-llvm flag to ./configure on any 32-bit
platform that I have (Debian 12, Debian 13, Arch Linux), many tests
invoked by `make check` fail, or, sometimes, hang forever. Is this a
known problem? It's not critical to me, just wanted to know if I should
abandon --with-llvm forever on such platforms. On 64-bit Linux
platforms, both x86 and ARM, --with-llvm works fine.

To reproduce, it's enough to:

make distclean
./configure --with-llvm
make -j23 -ks
make check

The last step is never successful to me, and, by the way, this can also
be reproduced with clang:

make distclean
./configure CC=clang CXX=clang++ --with-llvm CFLAGS=-msse2
make -j23 -ks
make check

Thanks in advance for your attention to this problem, or telling me this
is not a problem at all

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2025-09-04 21:34:19 Re: Logical Replication of sequences
Previous Message Sami Imseih 2025-09-04 21:12:09 Re: GetNamedLWLockTranche crashes on Windows in normal backend