When attempting to compile for RPi4b
, I'm receiving the following errors from a stock defconfig
build - no packages added.
In looking around, the only posts I can find reference using an outdated version of the source tree, but I'm at the current main
tip. It's using the GCC 12.x default.
Any suggestions on what I managed to screw up? Other device targets work as expected.
* 7f13b9f8be - (HEAD -> main, origin/master, origin/main, origin/HEAD) qualcommax: enable DEBUG_BUGVERBOSE (6 hours ago) <Robert Marko>
make[5]: Leaving directory '/home/grommish/openwrt/build_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/gcc-12.3.0-initial/gcc'
Checking multilib configuration for libgcc...
Configuring in aarch64-openwrt-linux-musl/libgcc
configure: loading cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-openwrt-linux-musl
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /home/grommish/openwrt/staging_dir/host/bin/install -c
checking for gawk... gawk
checking for aarch64-openwrt-linux-musl-ar... /home/grommish/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/aarch64-openwrt-linux-musl/bin/ar
checking for aarch64-openwrt-linux-musl-lipo... aarch64-openwrt-linux-musl-lipo
checking for aarch64-openwrt-linux-musl-nm... /home/grommish/openwrt/build_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/gcc-12.3.0-initial/./gcc/nm
checking for aarch64-openwrt-linux-musl-ranlib... /home/grommish/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/aarch64-openwrt-linux-musl/bin/ranlib
checking for aarch64-openwrt-linux-musl-strip... /home/grommish/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/aarch64-openwrt-linux-musl/bin/strip
checking whether ln -s works... yes
checking for aarch64-openwrt-linux-musl-gcc... /home/grommish/openwrt/build_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/gcc-12.3.0-initial/./gcc/xgcc -B/home/grommish/openwrt/build_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/gcc-12.3.0-initial/./gcc/ -B/home/grommish/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/aarch64-openwrt-linux-musl/bin/ -B/home/grommish/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/aarch64-openwrt-linux-musl/lib/ -isystem /home/grommish/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/aarch64-openwrt-linux-musl/include -isystem /home/grommish/openwrt/staging_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/aarch64-openwrt-linux-musl/sys-include
checking for suffix of object files... configure: error: in/home/grommish/openwrt/build_dir/toolchain-aarch64_cortex-a72_gcc-12.3.0_musl/gcc-12.3.0-initial/aarch64-openwrt-linux-musl/libgcc': configure: error: cannot compute suffix of object files: cannot compile See
config.log' for more details
make[4]: *** [Makefile:13202: configure-target-libgcc] Error 1