Use the -march=arch<edition> scheme instead of -march=z<model number> to support GCC and binutils releases that only support the former for recent CPU generations (e.g., as some versions of GCC-9 only accept arch13 but not z15).
On s390x GCC uses two schemes for -march: the revision of the Principles of Operations (architecture manual) and the CPU model that introduced a set of ISA extensions. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 57c044cd5..5d2e3f55c 100644 --- a/configure.ac +++ b/configure.ac @@ -1401,18 +1401,18 @@ case $host in ;; z13 | z13esa) cpu="z13" - gccarch="z13" + gccarch="arch11" extra_functions="" ;; z14 | z14esa) cpu="z14" - gccarch="z14" + gccarch="arch12" extra_functions="" xpath="z13" ;; z15 | z15esa) cpu="z15" - gccarch="z15" + gccarch="arch13" extra_functions="" xpath="z14 z13" ;; -- 2.26.2 _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel