https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116547
Bug ID: 116547 Summary: FTBFS on x86_64-unknown-freebsd11 due to implicit declaration of 'alloca' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: msl0000023508 at gmail dot com Target Milestone: --- Building of GCC 15-20240825 fails with: ../../../gcc-15-20240825/libssp/ssp.c: In function 'fail': ../../../gcc-15-20240825/libssp/ssp.c:134:17: error: implicit declaration of function 'alloca' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration^G-Wimplicit-function-declaration8;;^G] 134 | p = buf = alloca (len); | ^~~~~~ ../../../gcc-15-20240825/libssp/ssp.c:134:17: warning: incompatible implicit declaration of built-in function 'alloca' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch^G-Wbuiltin-declaration-mismatch8;;^G] gmake[3]: *** [Makefile:580: ssp.lo] Error 1 According to man page alloca(3) from FreeBSD, 'stdlib.h' should be included in order to use it: https://man.freebsd.org/cgi/man.cgi?query=alloca&manpath=FreeBSD+14.1-RELEASE