Closed d-torrance closed 3 years ago
According to GCC documentation [1] and [2], the option -march
does not exist on PowerPC. We should update the configure script to add -mcpu=native
instead of -march=native
when compiling on a PowerPC.
[1] https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html [2] https://gcc.gnu.org/onlinedocs/gcc/RS_002f6000-and-PowerPC-Options.html
Reopened it, as merging#168 closed it automatically. @d-torrance can you please confirm that #168 solved the issue on ppc64el ? Thanks.
It worked! All the ppc64el builds based on 58f817cd were successful:
From a PPA build of the master branch on Ubuntu 20.04 (https://launchpadlibrarian.net/526787899/buildlog_ubuntu-focal-ppc64el.givaro_4.1.1.169.gcf0f715e~ubuntu20.04.1_BUILDING.txt.gz):
The same thing happened in other Ubuntu releases as well: