Re: Building postgresql armv7 on emulated x86_64

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marek Kulik <mkulik(at)redhat(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Building postgresql armv7 on emulated x86_64
Date: 2021-11-22 15:08:17
Message-ID: 3698992.1637593697@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marek Kulik <mkulik(at)redhat(dot)com> writes:
> I cannot compile postgresql for armv7. I tested a bunch of versions of gcc
> and all have the same issue.

> Maybe someone encountered something similar. I'm using Fedora Rawhide. Here
> is the error:

> <mock-chroot> sh-5.1# gcc -I../../../../src/include -I/usr/include/libxml2
> -c -o tuplesort.o tuplesort.c
> during RTL pass: mach
> tuplesort.c: In function ‘tuplesort_begin_heap’:
> tuplesort.c:949:1: internal compiler error: in create_fix_barrier, at
> config/arm/arm.c:17845
> 949 | }
> | ^

That seems like pretty obviously a compiler bug. Shouldn't you be filing
this complaint with gcc not us?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-11-22 15:22:20 Re: Windows build warnings
Previous Message Tom Lane 2021-11-22 15:06:37 Re: Windows build warnings