[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17793: Gentoo gcc 4.8.3 build problem: -fstack-protector [also, Re:
bug#17793: Gentoo gcc 4.8.3 build problem: -fstack-protector [also, Re: bug#17754]
Tue, 17 Jun 2014 12:28:54 -0700
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
In file included from mbsstr.c:32:0:
str-kmp.h: In function 'knuth_morris_pratt':
str-kmp.h:35:1: error: stack protector not protecting local
variables: variable length buffer [-Werror=stack-protector]
knuth_morris_pratt (const UNIT *haystack,
These warnings don't indicate any bugs in the code; they're merely about
incomplete run-time checking in the underlying implementation. I was
particularly amused by a refusal to compile a function on the grounds
that its code doesn't use the stack!
So let's just disable the warnings. I pushed the attached patch.
Valgrind and -fsanitize=address are incompatible
Thanks, I didn't know that. Too bad, but understandable. Neither tool
dominates the other, so I guess we'll have to use them separately.
Description: Text document