The build system passes -fno-stack-protector when compiling the runtime files but not when compiling the generated C code for Petit Larceny. The problem is that the function make-cflag-augment in src/Rts/make-templates.sch is called only when building the former command line, but not when building the latter command line in c-compiler:gcc-unix in src/Asm/Standard-C/dumpheap-unix.sch.
Presumably an oversight since it's only an issue for Petit Larceny, and only when the Unix host enabled the stack protector by default, and even then perhaps only under some circumstances?
The build system passes
-fno-stack-protector
when compiling the runtime files but not when compiling the generated C code for Petit Larceny. The problem is that the functionmake-cflag-augment
in src/Rts/make-templates.sch is called only when building the former command line, but not when building the latter command line inc-compiler:gcc-unix
in src/Asm/Standard-C/dumpheap-unix.sch.Presumably an oversight since it's only an issue for Petit Larceny, and only when the Unix host enabled the stack protector by default, and even then perhaps only under some circumstances?