- ===Start build rockchip_rk3399pro_recovery====
- umask 0022 && make -C /mnt/rk3399pro_linux_update/buildroot O=/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery
- /usr/bin/make -j1 O=/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery HOSTCC="/usr/local/bin/gcc" HOSTCXX="/usr/local/bin/g++" silentoldconfig
- >>> glibc glibc-2.26-146-gd300041c533a3d837c9f37a099bcc95466860e98 Configuring
- mkdir -p /mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/build/glibc-glibc-2.26-146-gd300041c533a3d837c9f37a099bcc95466860e98/build
- # Do the configuration
- (cd /mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/build/glibc-glibc-2.26-146-gd300041c533a3d837c9f37a099bcc95466860e98/build; PATH="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin:/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-ar" AS="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-as" LD="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-ld" NM="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-nm" CC="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-gcc" GCC="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-gcc" CPP="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-cpp" CXX="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-g++" FC="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-gfortran" F77="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-gfortran" RANLIB="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-ranlib" READELF="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-readelf" STRIP="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-strip" OBJCOPY="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-objcopy" OBJDUMP="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/local/bin/gcc" GCC_FOR_BUILD="/usr/local/bin/gcc" CXX_FOR_BUILD="/usr/local/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/include" CFLAGS_FOR_BUILD="-O2 -I/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/include" LDFLAGS_FOR_BUILD="-L/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/lib -Wl,-rpath,/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-as" DEFAULT_LINKER="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/pkg-config" STAGING_DIR="/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/aarch64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 " CPPFLAGS="" CXXFLAGS="-O2 " /bin/bash /mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/build/glibc-glibc-2.26-146-gd300041c533a3d837c9f37a099bcc95466860e98/./configure ac_cv_path_BASH_SHELL=/bin/bash libc_cv_forced_unwind=yes libc_cv_ssp=no --target=aarch64-buildroot-linux-gnu --host=aarch64-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --enable-shared --with-fp --with-pkgversion="Buildroot" --without-cvs --disable-profile --without-gd --enable-obsolete-rpc --enable-kernel=4.4 --disable-experimental-malloc --with-headers=/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/aarch64-buildroot-linux-gnu/sysroot/usr/include)
- checking build system type... x86_64-pc-linux-gnu
- checking host system type... aarch64-buildroot-linux-gnu
- checking for aarch64-buildroot-linux-gnu-gcc... /mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/host/bin/aarch64-buildroot-linux-gnu-gcc
- checking for suffix of object files... configure: error: in `/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/build/glibc-glibc-2.26-146-gd300041c533a3d837c9f37a099bcc95466860e98/build':
- configure: error: cannot compute suffix of object files: cannot compile
- See `config.log' for more details
- package/pkg-generic.mk:244: recipe for target '/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/build/glibc-glibc-2.26-146-gd300041c533a3d837c9f37a099bcc95466860e98/.stamp_configured' failed
- make[1]: *** [/mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/build/glibc-glibc-2.26-146-gd300041c533a3d837c9f37a099bcc95466860e98/.stamp_configured] Error 1
- /mnt/rk3399pro_linux_update/buildroot/output/rockchip_rk3399pro_recovery/Makefile:16: recipe for target '_all' failed
- make: *** [_all] Error 2
- ====Build rockchip_rk3399pro_recovery failed!====
- Command exited with non-zero status 1
- you take 0:06.20 to build recovery
- ====Build recovery failed!====
复制代码
根据报错信息 configure: error: cannot compute suffix of object files: cannot compile;我更新了gcc链接的库,但是还是不行,其他的比如kernel都可以编译成功欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |