|
【技术讨论】
请帮忙解决RK3308B-CC编译rootfs报错的问题
发表于 2020-9-1 19:50:46
浏览:6152
|
回复:3
打印
只看该作者
[复制链接]
楼主
请帮忙解决RK3308B-CC编译rootfs报错的问题
我以为是我改了配置导致编译不过,但不做任何修改、完全照着编译手册做,编rootfs还是失败。
命令:
git reset --hard HEAD
git remote -v
remote set-url gitlab https://gitlab.com/TeeFirefly/rk3308-linux.git
git pull gitlab firefly:firefly
./build.sh roc-rk3308b-cc_release_BoardConfig.mk
./build.sh uboot
./build.sh roc-rk3308b-cc_release_BoardConfig.mk
./build.sh kernel
source buildroot/build/envsetup.sh
make
报错的log:
[0901_19:25:42.143] # Now that we have built all the objects, we need to copy
[0901_19:25:42.148] # them back to the GCC directory. Too many things (other
[0901_19:25:42.155] # in-tree libraries, and DejaGNU) know about the layout
[0901_19:25:42.160] # of the build tree, for now.
[0901_19:25:42.167] /usr/bin/make install-leaf DESTDIR=../.././gcc \
[0901_19:25:42.173] slibdir= libsubdir= MULTIOSDIR=.
[0901_19:25:42.178] /bin/bash ../../../libgcc/../mkinstalldirs ../.././gcc
[0901_19:25:42.186] /usr/bin/install -c -m 644 libgcc_eh.a ../.././gcc/
[0901_19:25:42.191] chmod 644 ../.././gcc/libgcc_eh.a
[0901_19:25:42.196] /home/sw/hwz/rk3308/buildroot/output/firefly_rk3308_release/host/aarch64-rockchip-linux-gnu/bin/ranlib ../.././gcc/libgcc_eh.a
[0901_19:25:42.208] /bin/bash ../../../libgcc/../mkinstalldirs ../.././gcc; /usr/bin/install -c -m 644 ./libgcc_s.so.1 ../.././gcc/libgcc_s.so.1; rm -f ../.././gcc/libgcc_s.so; ln -s libgcc_s.so.1 ../.././gcc/libgcc_s.so
[0901_19:25:42.221] /bin/bash ../../../libgcc/../mkinstalldirs ../.././gcc
[0901_19:25:42.226] /usr/bin/install -c -m 644 libgcc.a ../.././gcc/
[0901_19:25:42.230] chmod 644 ../.././gcc/libgcc.a
[0901_19:25:42.239] /home/sw/hwz/rk3308/buildroot/output/firefly_rk3308_release/host/aarch64-rockchip-linux-gnu/bin/ranlib ../.././gcc/libgcc.a
[0901_19:25:42.249] /usr/bin/install -c -m 644 libgcov.a ../.././gcc/
[0901_19:25:42.255] chmod 644 ../.././gcc/libgcov.a
[0901_19:25:42.260] /home/sw/hwz/rk3308/buildroot/output/firefly_rk3308_release/host/aarch64-rockchip-linux-gnu/bin/ranlib ../.././gcc/libgcov.a
[0901_19:25:42.273] parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o crtfastmath.o"; \
[0901_19:25:42.277] for file in $parts; do \
[0901_19:25:42.284] rm -f ../.././gcc/$file; \
[0901_19:25:42.289] /usr/bin/install -c -m 644 $file ../.././gcc/; \
[0901_19:25:42.294] case $file in \
[0901_19:25:42.302] *.a) \
[0901_19:25:42.307] /home/sw/hwz/rk3308/buildroot/output/firefly_rk3308_release/host/aarch64-rockchip-linux-gnu/bin/ranlib ../.././gcc/$file ;; \
[0901_19:25:42.319] esac; \
[0901_19:25:42.324] done
[0901_19:25:42.330] make[4]: write error: stdout
[0901_19:25:42.338] Makefile:12099: recipe for target 'all-target-libgcc' failed
[0901_19:25:42.343] make[3]: *** [all-target-libgcc] Error 1
[0901_19:25:42.348] Makefile:878: recipe for target 'all' failed
[0901_19:25:42.355] make[2]: *** [all] Error 2
[0901_19:25:42.360] package/pkg-generic.mk:247: recipe for target '/home/sw/hwz/rk3308/buildroot/output/firefly_rk3308_release/build/host-gcc-final-6.4.0/.stamp_built' failed
[0901_19:25:42.371] make[1]: *** [/home/sw/hwz/rk3308/buildroot/output/firefly_rk3308_release/build/host-gcc-final-6.4.0/.stamp_built] Error 2
[0901_19:25:42.371] /home/sw/hwz/rk3308/buildroot/output/firefly_rk3308_release/Makefile:16: recipe for target '_all' failed
[0901_19:25:42.384] make: *** [_all] Error 2 |
|