#WASM: wasm-ld: undefined symbol: __stack_chk_guard

1 messages · Page 1 of 1 (latest)

safe dust
#

Trying to compile.
Doesn't work.

I heard I need to enable a flag, -fstack-protector when compiling, but I do not know how to add it to my build.zig file.

forest cloud
#

lib.stack_protector = true ?

safe dust
#

oh.

#

let me check

#

no

forest cloud
#

but that wouldn't make sense, maybe you want false?

#

you need to link a lib that provides it

safe dust
#

false did it

#

i have no idea why

#

i am too tired to ask

#

this is esoteric

#

i just want to see the triangle on the screen dman it

forest cloud
#

😁

safe dust
#

thank you by the way

#

thank you so much