ASPLes / nopoll

OpenSource WebSocket toolkit
http://www.aspl.es/nopoll
GNU Lesser General Public License v2.1
124 stars 74 forks source link

undefined reference to `__stack_chk_fail' #33

Closed Shaco-Ma closed 7 years ago

Shaco-Ma commented 7 years ago

@francisbrosnan Hi, I have other question about nopoll, haha when I compile nopoll in my project, I found this undefined reference to `__stack_chk_fail', and I found CFLAGS="-fstack-protector-all -Wstack-protector" in nopoll/src/configure.ac, did the nopoll-0.4.4 need libssp? Or did I can remove about -fstack-protector-all ? Very happy to receive you response.

Shaco-Ma commented 7 years ago

I found nopoll add stack protect, but I cross compile is ok, when I compile all project and all project haven't -fstack-protector-all, if I make CFLAGS use -fstack-protector-all, there has many mistake. How can I solve this, please tell me ,Thanks.

Shaco-Ma commented 7 years ago

This is my project is problem, my cross compile support -fstack-protector-all,but all of my code didn't open -fstack-protector-all, I close nopoll check cc suppport -fstack-protector-all is compile ok, sorry to trouble you @francisbrosnan , my best bless to you.