内存检测工具 Valgrind编不进D1,不支持RISC-V架构怎么解决?
-
这个工具不支持RiscV架构,该怎么解决? -
"package/valgrind/Config.in" 添加一行 default y if BR2_riscv
用韦老师的 buildroot
我来试一试。 -
checking dependency style of /opt/D1/buildroot-2021/output/host/bin/riscv64-unknown-linux-gnu-gcc... none checking for diff -u... yes checking for /opt/D1/buildroot-2021/output/host/bin/riscv64-unknown-linux-gnu-gcc option to accept ISO C99... (cached) -std=gnu99 checking for a supported version of gcc... ok (8.1.0) checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-buildroot-linux-gnu checking for a supported CPU... no (riscv64) configure: error: Unsupported host architecture. Sorry package/pkg-generic.mk:231: recipe for target '/opt/D1/buildroot-2021/output/build/valgrind-3.16.1/.stamp_configured' failed make[1]: *** [/opt/D1/buildroot-2021/output/build/valgrind-3.16.1/.stamp_configured] Error 1 Makefile:84: recipe for target '_all' failed make: *** [_all] Error 2
确实没办法编译成功了,看了一下,要照着mips64改很多处。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号