Re: --with-llvm on 32-bit platforms?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Dmitry Mityugov <d.mityugov@postgrespro.ru>,
Peter Eisentraut <peter@eisentraut.org>, pgsql-hackers@postgresql.org
Date: 2025-09-16T00:04:55Z
Lists: pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes: >> Dmitry Mityugov <d.mityugov@postgrespro.ru> writes: >>> I get a failure in Postgres executable early on startup. >> Interesting, but again, how about a stack trace? > Hmm. We use TypeSizeT in generated IR for Datum, which is obviously > incorrect in this configuration. Oh! Yeah, that is surely broken now. But it'd only explain problems once you reach JIT-ed code, which I'd not expect to happen "early on startup". So maybe there's another problem? regards, tom lane
Commits
-
jit: Fix type used for Datum values in LLVM IR.
- 0951942bba25 19 (unreleased) landed
-
Avoid faulty alignment of Datums in build_sorted_items().
- 09036dc71c68 19 (unreleased) cited
-
Make type Datum be 8 bytes wide everywhere.
- 2a600a93c7be 19 (unreleased) cited