|
From: Vincent W. <vwo...@gm...> - 2007-08-11 15:29:23
|
Hello, I get errors when I try to install valgrind-3.2.3 on my linux box. I am using Ubuntu 7.04 (feisty fawn). ./configure gives me no errors, but doing make gives two errors, which I could not figure out. I would be thankful for any insight. The errors trace is: ... make[3]: Entering directory `/home/vincent/C++_tools/Valgrind/valgrind-3.2.3/memcheck' gcc -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -o memcheck-x86-linux -static -Wl,-defsym,valt_load_address=0x38000000 -nodefaultlibs -nostartfiles -u _start -m32 -Wl,-T,../valt_load_address_x86_linux.lds memcheck_x86_linux-mc_leakcheck.o memcheck_x86_linux-mc_malloc_wrappers.o memcheck_x86_linux-mc_main.o memcheck_x86_linux-mc_translate.o ../coregrind/libcoregrind_x86_linux.a ../VEX/libvex_x86_linux.a -lgcc memcheck_x86_linux-mc_main.o: In function `mc_post_reg_write': /home/vincent/C++_tools/Valgrind/valgrind-3.2.3/memcheck/mc_main.c:2200: undefined reference to `__stack_chk_fail' memcheck_x86_linux-mc_main.o: In function `mc_pre_reg_read': /home/vincent/C++_tools/Valgrind/valgrind-3.2.3/memcheck/mc_main.c:2235: undefined reference to `__stack_chk_fail' ../coregrind/libcoregrind_x86_linux.a(libcoregrind_x86_linux_a-m_errormgr.o): In function `is_suppressible_error': /home/vincent/C++_tools/Valgrind/valgrind-3.2.3/coregrind/m_errormgr.c:1153: undefined reference to `__stack_chk_fail' ../coregrind/libcoregrind_x86_linux.a(libcoregrind_x86_linux_a-m_errormgr.o): In function `vgPlain_load_suppressions': /home/vincent/C++_tools/Valgrind/valgrind-3.2.3/coregrind/m_errormgr.c:1075: undefined reference to `__stack_chk_fail' ../coregrind/libcoregrind_x86_linux.a(libcoregrind_x86_linux_a-m_libcbase.o): In function `vgPlain_ssort': /home/vincent/C++_tools/Valgrind/valgrind-3.2.3/coregrind/m_libcbase.c:510: undefined reference to `__stack_chk_fail' ../coregrind/libcoregrind_x86_linux.a(libcoregrind_x86_linux_a-m_libcfile.o):/home/vincent/C++_tools/Valgrind/valgrind-3.2.3/coregrind/m_libcfile.c:440: more undefined references to `__stack_chk_fail' follow collect2: ld returned 1 exit status make[3]: *** [memcheck-x86-linux] Error 1 make[3]: Leaving directory `/home/vincent/C++_tools/Valgrind/valgrind-3.2.3/memcheck' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/vincent/C++_tools/Valgrind/valgrind-3.2.3/memcheck' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vincent/C++_tools/Valgrind/valgrind-3.2.3' make: *** [all] Error 2 Best regards, Vincent |
|
From: Chris M. <do...@gm...> - 2007-09-26 15:06:01
|
Vincent Wolowski <vwolowski <at> gmail.com> writes: > I get errors when I try to install valgrind-3.2.3 on my linux box. > I am using Ubuntu 7.04 (feisty fawn). I found that these 3 steps solved the problem for me: CC='gcc -fno-stack-protector' ./configure make clean make http://bugs.kde.org/show_bug.cgi?id=144112 says the bug is fixed in the svn version of valgrind. You can get that from here: http://valgrind.org/downloads/repository.html Chris. |