| From: | Marek Kulik <mkulik(at)redhat(dot)com> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Building postgresql armv7 on emulated x86_64 |
| Date: | 2021-11-22 10:57:46 |
| Message-ID: | CAKXfsEfiyNiUes4BBS_x85w4T6QsgPcoF1c5YRH8QRtqrTUv+A@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 | David Rowley | 2021-11-22 11:00:06 | Re: jsonb crash |
| Previous Message | Bharath Rupireddy | 2021-11-22 10:54:53 | Re: Replication & recovery_min_apply_delay |