Building postgresql armv7 on emulated x86_64

Поиск
Список
Период
Сортировка
От Marek Kulik
Тема Building postgresql armv7 on emulated x86_64
Дата
Msg-id CAKXfsEfiyNiUes4BBS_x85w4T6QsgPcoF1c5YRH8QRtqrTUv+A@mail.gmail.com
обсуждение исходный текст
Список 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 | }
      | ^


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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Replication & recovery_min_apply_delay
Следующее
От: David Rowley
Дата:
Сообщение: Re: jsonb crash