Re: Building postgresql armv7 on emulated x86_64

2021-11-23 Thread Marek Kulik
What is weird is that this issue is only present in Fedora Rawhide, older versions of fedora are not affected. I couldn't pinpoint what package update caused that issue. I made a regression for gcc and packages related to it with no luck. It seems to be an issue related to a bug in gcc. Here is

Re: Building postgresql armv7 on emulated x86_64

2021-11-22 Thread Tom Lane
> Marek Kulik writes: >> I cannot compile postgresql for armv7. I tested a bunch of versions of gcc >> and all have the same issue. FWIW, I just tried a build with --enable-dtrace on up-to-date Fedora 35 aarch64, and that worked fine. So this definitely seems like a problem in the toolchain not

Re: Building postgresql armv7 on emulated x86_64

2021-11-22 Thread Tom Lane
Marek Kulik 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: > sh-5.1# gcc -I../../../../src/include -I/usr/include/libxml2 > -c

Building postgresql armv7 on emulated x86_64

2021-11-22 Thread Marek Kulik
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

Building postgresql armv7 on emulated x86_64

2021-11-22 Thread Marek Kulik
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