Closed VitalyAnkh closed 9 months ago
I also encountered this error. I also notice multiple these warnings, which suggests that the toolchain is mis-configured about the ISA version.
warning: /home/yanqi/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/lib64v0p7_xthead/lp64d/crtn.o: mis-matched ISA version 0.7 for 'zvlsseg' extension, the output version is 1.0
Same here. Exactly the same message as @VitalyAnkh posted.
UPDATE: I was running the build on Fedora 38 when I got the error. After that I started an Ubuntu 22.04 container with Podman, followed the instructions in the README and the build was successful.
I placed my Containerfile
and the instructions here: https://github.com/pavelanni/milkv-duo-experiments/tree/main/build-container
Try using the latest code. If the compilation still fails, it is recommended that you use Docker to compile: https://github.com/milkv-duo/duo-buildroot-sdk#2-compiled-using-docker
我自己的解决方法,在sophpi/middleware/v2/sample/venc/Makefile的EXTRA_LDFLAGS 后面添加 -latomic,对vdec中的makefile同样有效
After running
./build_milkv.sh
, I got error like this:It seems to be already fixed by gcc toolchains([1], [2], [3]), but duo-build root-SDK will download an older gcc toolchain (gcc 10) to build the image. How about updating the toolchain?