When porting Elk to a new architecture, you may want to compile and run alloca.c to check if your system's alloca() function is usable for Elk. See the leading comment in alloca.c.