From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Christoph Berg <myon(at)debian(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: PG11 jit failing on ppc64el |
Date: | 2018-05-24 07:15:23 |
Message-ID: | CAEepm=1BOKxBzt+hgRwdBSFv==DpDxQoad5daHgiDUrQSsgWWA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, May 24, 2018 at 3:48 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> writes:
>> BTW It is working on arm64 too, starting with LLVM 6. 5 crashed the
>> same way as it does on ppc. See build farm member eelpout which is
>> running Debian.
>
> For entertainment's sake, I tried building --with-llvm on FreeBSD 12
> arm64 (hey, gotta do something with this raspberry pi toy I got).
Neat. Quite tempted to get one!
> I used llvm-devel-7.0.d20180327 which seems to be the latest available in
> FreeBSD's package system. Builds cleanly, does not work at all.
> SIGSEGV here:
>
> [big ugly stack]
>
> Sure looks like infinite recursion in findSymbolAddress. Thoughts?
Hmm. I just tried llvm-devel-7.0.d20180327 on my amd64 FreeBSD 12
system and our make check passed with flying colours. I guess there
could be a bug in LLVM or the FreeBSD 12 linker or their interaction
on ARM. Maybe the cycle somehow comes from lines 376 and 391 of this:
I know that LocalIndirectStubsManager is instantiated differently on
each architecture, but I couldn't immediately see how that could
produce the cycle and I'm currently avoiding the LLVM-internals rabbit
hole. Maybe Andres has an idea?
--
Thomas Munro
http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2018-05-24 07:57:07 | Re: PANIC during crash recovery of a recently promoted standby |
Previous Message | Chapman Flack | 2018-05-24 06:30:23 | Re: SPI/backend equivalent of extended-query Describe(statement)? |