|
From: Yang H. <rt...@16...> - 2014-06-08 08:40:03
|
hello, valgrind build failed with the default configration. This can be fixed by the following modification. $ svn diff Index: coregrind/m_debuginfo/readstabs.c =================================================================== --- coregrind/m_debuginfo/readstabs.c (revision 14004) +++ coregrind/m_debuginfo/readstabs.c (working copy) @@ -55,7 +55,7 @@ /* --- !!! --- EXTERNAL HEADERS start --- !!! --- */ #if defined(VGO_linux) -# include <a.out.h> /* stabs defns */ +# include <linux/a.out.h> /* stabs defns */ #elif defined(VGO_darwin) # include <mach-o/nlist.h> # define n_other n_sect source version: $svn info Path: . URL: svn://svn.valgrind.org/valgrind/trunk Repository Root: svn://svn.valgrind.org/valgrind Repository UUID: a5019735-40e9-0310-863c-91ae7b9d1cf9 Revision: 14004 Node Kind: directory Schedule: normal Last Changed Author: bart Last Changed Rev: 14004 Last Changed Date: 2014-06-07 21:16:24 +0800 (Sat, 07 Jun 2014) Error messages: $ make -j16 > log m_debuginfo/readstabs.c:58:39: fatal error: a.out.h: No such file or directory compilation terminated. make[3]: *** [m_debuginfo/libcoregrind_x86_linux_a-readstabs.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Platform info: $ cat /etc/debian_version 7.4 $ cat /proc/version Linux version 3.2.0-4-amd64 (deb...@li...) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.54-2 $ cat /proc/version Linux version 3.2.0-4-amd64 (deb...@li...) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.54-2 $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 58 model name : Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz stepping : 9 microcode : 0x12 cpu MHz : 1200.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes ... flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms bogomips : 5187.97 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: Best wishes, Yang Honggang |