| From: | Marek Kulik <mkulik(at)redhat(dot)com> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Building postgresql armv7 on emulated x86_64 |
| Date: | 2021-11-22 14:23:59 |
| Message-ID: | CAKXfsEccmH5O4PrGn8B-HC8EGGGrZtsDxRdEPVQ2r3xJLny6eg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
I cannot compile postgresql for armv7. I tested a bunch of versions of gcc
and all have the same issue. Sometimes disabling optimization allows me to
compile failed files but it is not a rule. The same error will happen in
another file and changing optimization parameters or lto options does not
make a difference.
Problem is related to dtrace probes code. Compiling without them is
successful.
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 | }
| ^
...
<mock-chroot> sh-5.1# gcc -I../../../../src/include -I/usr/include/libxml2
-c -o md.o md.c
during RTL pass: mach
md.c: In function ‘mdwrite’:
md.c:731:1: internal compiler error: in create_fix_barrier, at
config/arm/arm.c:17845
731 | }
| ^
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dilip Kumar | 2021-11-22 14:27:50 | Re: row filtering for logical replication |
| Previous Message | Alvaro Herrera | 2021-11-22 14:21:15 | Re: Windows build warnings |