|
From: Jonas D. <di...@gm...> - 2007-02-26 15:58:44
|
Hi, I have had trouble compiling valgrind on Ubuntu 6.10. The build ended with this error: undefined reference to `__stack_chk_fail' -kernel I figured out that the gcc option "-fno-stack-protector" should help, so I tried $ CFLAGS=-fno-stack-protector ./configure and $ ./configure CFLAGS=-fno-stack-protector both without effect. Finally, I tried $ ./configure CC="gcc -fno-stack-protector" which fixed it. But shouldn't the first two have been enough? What was I missing? Or is this really a bug in the configure script? Thanks in advance. Regards, Jonas |