https://sourceware.org/bugzilla/show_bug.cgi?id=26766
--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to H.J. Lu from comment #13) > (In reply to Martin Liska from comment #12) > > > > > I can fix it with the following change: > > > > diff -u gas/Makefile.orig gas/Makefile > > --- gas/Makefile.orig 2020-10-26 18:41:45.992955514 +0100 > > +++ gas/Makefile 2020-10-26 18:42:21.976647698 +0100 > > @@ -1081,8 +1081,8 @@ > > config/$(DEPDIR)/$(am__dirstamp) > > > > as-new$(EXEEXT): $(as_new_OBJECTS) $(as_new_DEPENDENCIES) > > $(EXTRA_as_new_DEPENDENCIES) > > - @rm -f as-new$(EXEEXT) > > - $(AM_V_CCLD)$(LINK) $(as_new_OBJECTS) $(as_new_LDADD) $(LIBS) > > + + @rm -f as-new$(EXEEXT) > > + + $(AM_V_CCLD)$(LINK) $(as_new_OBJECTS) $(as_new_LDADD) $(LIBS) > > > > itbl-test$(EXEEXT): $(itbl_test_OBJECTS) $(itbl_test_DEPENDENCIES) > > $(EXTRA_itbl_test_DEPENDENCIES) > > @rm -f itbl-test$(EXEEXT) > > > > but I don't know how to modify the original gas/Makefile.am > > ? > > I will fix it. It works for me with GNU make 4.2.1: /bin/sh ./libtool --tag=CC --mode=link cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Wwrite-strings -O2 -g -fcf-protection -fprofile-generate -flto=jobserver -o as-new app.o as.o atof-generic.o compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o config/tc-i386.o config/obj-elf.o config/atof-ieee.o ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a -ldl libtool: link: cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Wwrite-strings -O2 -g -fcf-protection -fprofile-generate -flto=jobserver -o as-new app.o as.o atof-generic.o compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o config/tc-i386.o config/obj-elf.o config/atof-ieee.o ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a -lz ../libiberty/libiberty.a -ldl /export/gnu/import/git/gitlab/x86-binutils/libiberty/make-relative-prefix.c: In function 'make_relative_prefix_1.constprop': /export/gnu/import/git/gitlab/x86-binutils/libiberty/make-relative-prefix.c:230:1: warning: stack usage might be unbounded [-Wstack-usage=] 230 | make_relative_prefix_1 (const char *progname, const char *bin_prefix, | ^ make[6]: Leaving directory '/export/build/gnu/tools-build/binutils-pgo/build-x86_64-linux/gas' -- You are receiving this mail because: You are on the CC list for the bug.