Hi Everyone, I'm working from the 4.2.1 tarball. I see __alloca has caused some grief. (https://lists.gnu.org/archive/html/bug-make/2017-11/msg00020.html and friends).
There have been no GNU Make releases since June 2016. The problem is still present, and it does not look like it is going to be fixed anytime soon. What is the official patch to fix the problem? Does someone have a 'diff -u' or a 'git diff'? Thanks in advance, Jeff ****************************** Here is the problem on Fedora 29 x86_64: gmake[2]: Entering directory '/home/jwalton/Build-Scripts/make-4.2.1/glob' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DNDEBUG -g2 -O2 -march=native -fPIC -MT glob.o -MD -MP -MF .deps/glob.Tpo -c -o glob.o glob.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DNDEBUG -g2 -O2 -march=native -fPIC -MT fnmatch.o -MD -MP -MF .deps/fnmatch.Tpo -c -o fnmatch.o fnmatch.c mv -f .deps/fnmatch.Tpo .deps/fnmatch.Po glob.c: In function ‘glob’: glob.c:581:23: warning: implicit declaration of function ‘__alloca’; did you mean ‘alloca’? [-Wimplicit-function-declaration] newp = (char *) __alloca (dirlen + 1); ^~~~~~~~ alloca glob.c:581:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newp = (char *) __alloca (dirlen + 1); ^ glob.c:709:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newp = (char *) __alloca (home_len + dirlen); ^ glob.c:732:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newp = (char *) __alloca (end_name - dirname); ^ glob.c:783:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newp = (char *) __alloca (home_len + rest_len + 1); ^ glob.c:814:11: warning: implicit declaration of function ‘__stat’; did you mean ‘__xstat’? [-Wimplicit-function-declaration] : __stat (dirname, &st)) == 0 ^~~~~~ __xstat glob.c: In function ‘glob_in_dir’: glob.c:1256:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] char *fullname = (char *) __alloca (dirlen + 1 + patlen + 1); ^ glob.c:1283:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] names = (struct globlink *) __alloca (sizeof (struct globlink)); ^ glob.c:1341:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] struct globlink *new = (struct globlink *) ^ glob.c:1367:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] names = (struct globlink *) __alloca (sizeof (struct globlink)); ^ mv -f .deps/glob.Tpo .deps/glob.Po rm -f libglob.a ar cru libglob.a glob.o fnmatch.o ranlib libglob.a _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make