Re: --with-llvm on 32-bit platforms?

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: --with-llvm on 32-bit platforms?
Дата
Msg-id CA+hUKGKmfUA3mDojQOffHbNPiQxm1p3ce_QYvJSEnVy61Wom9A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: --with-llvm on 32-bit platforms?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: --with-llvm on 32-bit platforms?
Список pgsql-hackers
On Tue, Sep 16, 2025 at 8:22 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Dmitry Mityugov <d.mityugov@postgrespro.ru> writes:
> > What's interesting is that when I add the following (quick and dirty)
> > assertion to DatumGetPointer on 32-bit Linux platforms,
>
> > DatumGetPointer(Datum X)
> > {
> >          Assert((X & 0xFFFFFFFF00000000) == 0);
> >          return (Pointer) (uintptr_t) X;
> > }
>
> > 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.



В списке pgsql-hackers по дате отправления: