JuliaLang/julia — pull request #2346 by vtjnash (2013-02-18 06:13:41+00:00)
Title: add -fstack-protector-all to DEBUG build (including JIT code)

this adds stack corruption checking code to julia under debug build conditions. I think it is safe to merge, but figured someone (Jeff?) should confirm first.

external libraries, such as libopenblas, are not altered by this. it is theoretically possible to do targeted testing by adding `CFLAGS=-fstack-protector-all` and `LDFLAGS=-lssp` to a specific build in deps (although the library name varies and sometimes does not exist, and it could instead be specified that the __stack_chk_guard and __stack_chk_fail symbols are undefined until runtime)