openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
19.85k stars 10.33k forks source link

ERROR: toolchain/gcc/initial failed to build. #12217

Open dd-bpir3 opened 1 year ago

dd-bpir3 commented 1 year ago

Describe the bug

make[3] -C toolchain/gcc/initial compile ERROR: toolchain/gcc/initial failed to build. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on make: [/home/yph/openwrt/include/toplevel.mk:231: world] Error 1 make[2]: Entering directory '/home/yph/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/home/yph/openwrt/scripts/config' make[1] world make[2] toolchain/compile make[3] -C toolchain/gdb compile make[3] -C toolchain/binutils compile make[3] -C toolchain/gcc/initial compile ERROR: toolchain/gcc/initial failed to build. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on make: [/home/yph/openwrt/include/toplevel.mk:231: world] Error 1 make[2]: Entering directory '/home/yph/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/home/yph/openwrt/scripts/config' make[1]: Entering directory '/home/yph/openwrt' make[2]: Entering directory '/home/yph/openwrt'

OpenWrt version

R23.3.3

OpenWrt target/subtarget

mediatek/filogic

Device

Bananapi BPI-R3

Image kind

Official downloaded image

Steps to reproduce

No response

Actual behaviour

No response

Expected behaviour

No response

Additional info

No response

Diffconfig

No response

Terms

1248289414 commented 1 year ago

I got the same problem, I found that it was caused by a lack of memory and when I closed the browser, it disappeared. (PS: I used WSL to build OpenWRT and it made memory even more limited.

anonymous-one commented 1 year ago

I can confirm. I had a VM with 4gb allocated and was seeing the same. As soon as I bumped it up to 8gb this disappreared.

Had to do a make clean first though.

This can be closed.