Checkout to branch origin/openwrt-21.02. All prerequisites installed, script feeds/install, make menuconfig.
make:
several warnings: "has a dependency on 'libcap'"
make[3] -C toolchain/binutils 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: *** [/root/openwrt-sources-git/include/toplevel.mk:230: world] Error 1
I re-runned with these options, also with "-d" option - there is no "toolchain/gcc/initial" directory, and make stops. toplevel.mk at line 230 gives me no idea whats going on.
Anybody else had those problems and could solve it - or any ideas?
What are the actual error messages before that summary in the end?
In the verbose mode V=s you should get pretty detailed errors.
Please provide longer context.
Possibly something has changed in Debian default packages, and the toolchain compilation reacts to that.
You might also verify if Debian is able to build master (which has GCC 11 etc.).
That would indicate that something in 21.02 is the reason.