[SOLVED] Building on Arch Linux




[SOLVED] Building on Arch Linux

Postby paulpage » 19. May 2018, 20:13

I was trying to build the code for part 3 of the tutorial on my Arch machine, and got an error message saying "undefined reference to `__stack_chk_fail_local'". After some digging, I found out that I had to add the "-fno-stack-protector" flag to my GCCPARAMS in the makefile. From my understanding, it's because most Linux distros disable stack protector by default.

That solved the problem for me, so I hope this can be of use to someone.
paulpage
 
Posts: 2
Joined: 19. May 2018, 14:54

by Advertising » 19. May 2018, 20:13

Advertising
 

Return to Compiling & Linking

Who is online

No registered users

cron