https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103476
Bug ID: 103476 Summary: --enable-maintainer-mode fails with "invalid separator" in libgfortran on POWER Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Created attachment 51899 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51899&action=edit powerpc64le-unknown-linux-gnu/libgfortran/Makefile Trying to work on the power-ieee128 branch has hit a snag: It is currently impossible to use --enable-maintainer-mode on the virtual machine set aside for it. This also occurs for a current trunk, so it is independent of any changes there. The error is strange: make[4]: Entering directory '/home/ubuntu/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/libquadmath' make[4]: Leaving directory '/home/ubuntu/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/libquadmath' make[3]: Leaving directory '/home/ubuntu/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/libquadmath' make[2]: Leaving directory '/home/ubuntu/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/libquadmath' Checking multilib configuration for libgfortran... make[2]: Entering directory '/home/ubuntu/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/libgfortran' Makefile:7771: *** missing separator. Stop. make[2]: Leaving directory '/home/ubuntu/tkoenig/trunk-bin/powerpc64le-unknown-linux-gnu/libgfortran' make[1]: *** [Makefile:25950: all-target-libgfortran] Error 2 make[1]: Leaving directory '/home/ubuntu/tkoenig/trunk-bin' make: *** [Makefile:1028: all] Error 2 Also, looking at the Makefile in question at line 7771 has this: $(i_matmulavx128_c): m4/matmulavx128.m4 m4/matmul_internal.m4 $(I_M4_DEPS) $(M4) -Dfile=$@ -I$(srcdir)/m4 matmulavx128.m4 > $@ Here are the relevant versions for maintainer mode: ubuntu@gcc-fortran:~/tkoenig/trunk-bin$ make --version GNU Make 4.2.1 Built for powerpc64le-unknown-linux-gnu Copyright (C) 1988-2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ubuntu@gcc-fortran:~/tkoenig/trunk-bin$ perl --version This is perl 5, version 30, subversion 0 (v5.30.0) built for powerpc64le-linux-gnu-thread-multi (with 50 registered patches, see perl -V for more detail) Copyright 1987-2019, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. ubuntu@gcc-fortran:~/tkoenig/trunk-bin$ automake --version automake (GNU automake) 1.15.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tro...@redhat.com> and Alexandre Duret-Lutz <a...@gnu.org>. ubuntu@gcc-fortran:~/tkoenig/trunk-bin$ autoconf --version autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. I also have no idea what "missing separator" means in that context, the line looks legit.