Hi! I forgot to change the gfortran.map-sun goal to gfortran.ver-sun when changing other spots for the preprocessed version file.
Fixed thusly, committed to trunk as obvious. 2022-01-13 Jakub Jelinek <ja...@redhat.com> PR libfortran/104006 * Makefile.am (gfortran.map-sun): Rename target to ... (gfortran.ver-sun): ... this. * Makefile.in: Regenerated. --- libgfortran/Makefile.am.jj 2022-01-13 17:43:58.685553296 +0100 +++ libgfortran/Makefile.am 2022-01-13 17:44:40.503962317 +0100 @@ -23,7 +23,7 @@ endif if LIBGFOR_USE_SYMVER_SUN version_arg = -Wl,-M,gfortran.ver-sun version_dep = gfortran.ver-sun gfortran.ver -gfortran.map-sun : gfortran.ver \ +gfortran.ver-sun : gfortran.ver \ $(top_srcdir)/../contrib/make_sunver.pl \ $(libgfortran_la_OBJECTS) $(libgfortran_la_LIBADD) perl $(top_srcdir)/../contrib/make_sunver.pl \ --- libgfortran/Makefile.in.jj 2022-01-13 17:43:58.687553267 +0100 +++ libgfortran/Makefile.in 2022-01-13 17:44:51.468807363 +0100 @@ -719,7 +719,6 @@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ -runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ @@ -7616,7 +7615,7 @@ uninstall-am: uninstall-cafexeclibLTLIBR @libgfor_use_symver_t...@gfortran.ver: $(srcdir)/gfortran.map kinds.inc @LIBGFOR_USE_SYMVER_TRUE@ $(EGREP) -v '#(#| |$$)' $< | \ @LIBGFOR_USE_SYMVER_TRUE@ $(PREPROCESS) -P -include config.h -include kinds.inc - > $@ || (rm -f $@ ; exit 1) -@LIBGFOR_USE_SYMVER_SUN_TRUE@@libgfor_use_symver_t...@gfortran.map-sun : gfortran.ver \ +@LIBGFOR_USE_SYMVER_SUN_TRUE@@libgfor_use_symver_t...@gfortran.ver-sun : gfortran.ver \ @LIBGFOR_USE_SYMVER_SUN_TRUE@@LIBGFOR_USE_SYMVER_TRUE@ $(top_srcdir)/../contrib/make_sunver.pl \ @LIBGFOR_USE_SYMVER_SUN_TRUE@@LIBGFOR_USE_SYMVER_TRUE@ $(libgfortran_la_OBJECTS) $(libgfortran_la_LIBADD) @LIBGFOR_USE_SYMVER_SUN_TRUE@@LIBGFOR_USE_SYMVER_TRUE@ perl $(top_srcdir)/../contrib/make_sunver.pl \ Jakub