From: Wuweijia <wuw...@hu...> - 2018-01-24 07:15:50
|
Hi I download the source code , and I build arm32 version. That is some different with 3.12. There is onequestion: Question: I build the android -arm32 version, that is some compile error . I need to sure there is no need to include this file? Error as below: external/valgrind-3.14-GIT/coregrind/m_syswrap/syscall-arm-linux.S:35:34: fatal error: libvex_guest_offsets.h: No such file or directory #include "libvex_guest_offsets.h" The compile cmd: out/debug/target/product/kirin970/obj_arm/STATIC_LIBRARIES/libcoregrind-arm-linux_intermediates/coregrind/m_syswrap/syscall-arm-linux.o /bin/bash -c "PWD=/proc/self/cwd prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc -I external/valgrind-3.14-GIT -I external/valgrind-3.14-GIT/include -I external/valgrind-3.14-GIT/VEX/pub -I external/valgrind-3.14-GIT/coregrind -I external/valgrind-3.14-GIT -I out/debug/target/product/kirin970/obj_arm/STATIC_LIBRARIES/libcoregrind-arm-linux_intermediates -I out/debug/target/product/kirin970/gen/STATIC_LIBRARIES/libcoregrind-arm-linux_intermediates -I libnativehelper/include/nativehelper \$(cat out/debug/target/product/kirin970/obj_arm/STATIC_LIBRARIES/libcoregrind-arm-linux_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -isystem frameworks/av/include -isystem out/debug/target/product/kirin970/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/uapi -c -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -fno-canonical-system-headers -fno-builtin-sin -fno-strict-volatile-bitfields -DNDEBUG -g -Wstrict-aliasing=2 -fgcse-after-reload -frerun-cse-after-loop -frename-registers -DANDROID -DOEMINFO_VERSION6 -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -DBOARD_VENDORIMAGE_FILE_SYSTEM_TYPE -Wformat -fdebug-prefix-map=/proc/self/cwd= -fdiagnostics-color -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -mthumb-interwork -msoft-float -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a15 -D__ARM_FEATURE_LPAE=1 -std=gnu99 -O2 -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wmissing-declarations -Wno-pointer-sign -Wno-sign-compare -Wno-unused-parameter -Wno-shadow -fno-strict-aliasing -fno-stack-protector -DVGO_linux=1 -v -DANDROID_SYMBOLS_DIR=\\\"/data/local/symbols\\\" -std=gnu99 -DANDROID_HARDWARE_generic -DVGA_arm=1 -DVGP_arm_linux=1 -DVGPV_arm_linux_android=1 -DVG_LIBDIR=\\\"/system/lib64/valgrind\\\" -DVG_PLATFORM=\\\"arm-linux\\\" -D__ASSEMBLY__ -MD -MF out/debug/target/product/kirin970/obj_arm/STATIC_LIBRARIES/libcoregrind-arm-linux_intermediates/coregrind/m_syswrap/syscall-arm-linux.d -o out/debug/target/product/kirin970/obj_arm/STATIC_LIBRARIES/libcoregrind-arm-linux_intermediates/coregrind/m_syswrap/syscall-arm-linux.o external/valgrind-3.14-GIT/coregrind/m_syswrap/syscall-arm-linux.S" BR Owen -----邮件原件----- 发件人: Ivo Raisr [mailto:iv...@iv...] 发送时间: 2018年1月24日 12:36 收件人: Wuweijia <wuw...@hu...> 抄送: val...@li...; Fanbohao <fan...@hu...> 主题: Re: 答复: 答复: [Valgrind-users] [Help] Valgrind sometime run the program very slowly sometimes , it last at least one hour. can you show me why or some way to analyze it? 2018-01-24 1:36 GMT+01:00 Wuweijia <wuw...@hu...>: > Hi: > But I can not access the git of valgrind. Is there any way to > get the newest source code; Maybe the network configuration do not > allow it; It is hard to help you without any specific error shown. If this is indeed a network configuration, there is a git mirror of Valgrind accessible over http or https. Have a look at http://repo.or.cz/w/valgrind.git I. |