A strange behaviour has devel/gdb. If I compile with
If I run again
(If don't really know what happens here. Short after that appears:
)
I think this is an old error with alloca.h. (And there were a few patches in the past).
I opened this thread, instead a PR, cause I don't know if there exists a patch for this (found different patches in the net).
OPTION KGDB=ON it stops compiling with:
Code:
In file included from kgdb-main.c:46:
In file included from ./defs.h:28:
./common/common-defs.h:37:10: fatal error: 'alloca.h' file not found
#include <alloca.h>
^
/bin/sh ./../move-if-change xml-builtin.tmp xml-builtin.c
echo stamp > stamp-xml
2 warnings and 1 error generated.
Makefile:1132: recipe for target 'kgdb-main.o' failed
gmake[4]: *** [kgdb-main.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
If I run again
make install (without cleaning before) it continues and compiles till the end.(If don't really know what happens here. Short after that appears:
Code:
rm -f alloca.h-t alloca.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat ../.././gnulib/import/alloca.in.h; \
} > alloca.h-t && \
mv -f alloca.h-t alloca.h
I think this is an old error with alloca.h. (And there were a few patches in the past).
I opened this thread, instead a PR, cause I don't know if there exists a patch for this (found different patches in the net).