Open dd-bpir3 opened 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.
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.
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'
maybe_fold_comparisons_from_match_pd(tree_node*, tree_code, tree_code, tree_node*, tree_node*, tree_code, tree_node*, tree_node*, basic_block_def*)': gimple-fold.cc:(.text+0xfdd): undefined reference to
gimple_match_op::resimplify(gimple, tree_node ()(tree_node*))' /usr/bin/ld: gimple-fold.o: in functiongimple_build(gimple**, unsigned int, tree_code, tree_node*, tree_node*)': gimple-fold.cc:(.text+0x6aef): undefined reference to
gimple_simplify(tree_code, tree_node, tree_node, gimple*, tree_node ()(tree_node))' /usr/bin/ld: gimple-fold.o: in function `gimple_build(gimple, unsigned int, tree_code, tree_node, tree_node, tree_node)': gimple-fold.cc:(.text+0x6e47): undefined reference to `gimple_simplify(tree_code, tree_node, tree_node, tree_node, gimple, tree_node ()(tree_node*))' /usr/bin/ld: gimple-fold.o: in functiongimple_build(gimple**, unsigned int, tree_code, tree_node*, tree_node*, tree_node*, tree_node*)': gimple-fold.cc:(.text+0x6ee9): undefined reference to
gimple_simplify(tree_code, tree_node, tree_node, tree_node, tree_node, gimple*, tree_node ()(tree_node))' /usr/bin/ld: gimple-fold.o: in function `gimple_build(gimple, unsigned int, combined_fn, tree_node, tree_node)': gimple-fold.cc:(.text+0x707e): undefined reference togimple_simplify(combined_fn, tree_node*, tree_node*, gimple**, tree_node* (*)(tree_node*))' /usr/bin/ld: gimple-fold.o: in function
gimple_build(gimple, unsigned int, combined_fn, tree_node, tree_node, tree_node)': gimple-fold.cc:(.text+0x7185): undefined reference to `gimple_simplify(combined_fn, tree_node, tree_node, tree_node, gimple, tree_node ()(tree_node*))' /usr/bin/ld: gimple-fold.o: in functiongimple_build(gimple**, unsigned int, combined_fn, tree_node*, tree_node*, tree_node*, tree_node*)': gimple-fold.cc:(.text+0x7299): undefined reference to
gimple_simplify(combined_fn, tree_node, tree_node, tree_node, tree_node, gimple, tree_node ()(tree_node))' /usr/bin/ld: gimple-fold.o: in function `gimple_fold_stmt_to_constant_1(gimple, tree_node ()(tree_node), tree_node ()(tree_node))': gimple-fold.cc:(.text+0xb2e6): undefined reference to `gimple_simplify(gimple, gimple_match_op, gimple, tree_node ()(tree_node), tree_node ()(tree_node))' /usr/bin/ld: gimple-fold.cc:(.text+0xb4ab): undefined reference tomprts_hook' /usr/bin/ld: gimple-fold.o: in function
fold_stmt_1(gimple_stmt_iterator, bool, tree_node ()(tree_node))': gimple-fold.cc:(.text+0xde6d): undefined reference togimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*))' /usr/bin/ld: tree-cfgcleanup.o: in function
cleanup_control_flow_bb(basic_block_def)': tree-cfgcleanup.cc:(.text+0xf7e): undefined reference to `gimple_simplify(gimple, gimple_match_op*, gimple, tree_node ()(tree_node), tree_node ()(tree_node))' /usr/bin/ld: tree-ssa-ccp.o: in functionoptimize_atomic_bit_test_and(gimple_stmt_iterator*, internal_fn, bool, bool)': tree-ssa-ccp.cc:(.text+0x49d0): undefined reference to
gimple_nop_atomic_bit_test_and_p(tree_node*, tree_node, tree_node ()(tree_node*))' /usr/bin/ld: tree-ssa-phiopt.o: in functiontree_ssa_phiopt_worker(bool, bool, bool)': tree-ssa-phiopt.cc:(.text+0x793c): undefined reference to
gimple_match_op::resimplify(gimple, tree_node ()(tree_node*))' /usr/bin/ld: tree-ssa-phiopt.cc:(.text+0x810d): undefined reference togimple_match_op::resimplify(gimple**, tree_node* (*)(tree_node*))' /usr/bin/ld: tree-ssa-sccvn.o: in function
vn_lookup_simplify_result(gimple_match_op)': tree-ssa-sccvn.cc:(.text+0x9c03): undefined reference tomprts_hook' /usr/bin/ld: tree-ssa-sccvn.o: in function
vn_nary_build_or_lookup_1(gimple_match_op, bool, bool)': tree-ssa-sccvn.cc:(.text+0x9e7f): undefined reference tomprts_hook' /usr/bin/ld: tree-ssa-sccvn.cc:(.text+0x9e88): undefined reference to
gimple_match_op::resimplify(gimple, tree_node ()(tree_node))' /usr/bin/ld: tree-ssa-sccvn.cc:(.text+0x9e8f): undefined reference tomprts_hook' /usr/bin/ld: tree-ssa-sccvn.o: in function
visit_stmt(gimple, bool) [clone .isra.0]': tree-ssa-sccvn.cc:(.text+0x1347d): undefined reference tomprts_hook' /usr/bin/ld: tree-ssa-sccvn.cc:(.text+0x13490): undefined reference to
mprts_hook' /usr/bin/ld: tree-ssa-sccvn.o: in functionprocess_bb(rpo_elim&, basic_block_def*, bool, bool, bool, bool, bool, bitmap_head*, bool) [clone .constprop.0]': tree-ssa-sccvn.cc:(.text+0x147ea): undefined reference to
gimple_simplify(tree_code, tree_node, tree_node, tree_node*, gimple, tree_node ()(tree_node))' /usr/bin/ld: tree-vect-generic.o: in function `tree_vec_extract(gimple_stmt_iterator, tree_node, tree_node, tree_node, tree_node)': tree-vect-generic.cc:(.text+0x2a12): undefined reference to `gimple_match_op::resimplify(gimple, tree_node ()(tree_node))' /usr/bin/ld: gimple-match.o: in function `maybe_push_res_to_seq(gimple_match_op, gimple, tree_node)': gimple-match.cc:(.text+0x6646): undefined reference to `mprts_hook' collect2: error: ld returned 1 exit status make[5]: [/home/yph/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/gcc-12.2.0/gcc/c/Make-lang.in:87: cc1] Error 1 make[5]: Leaving directory '/home/yph/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/gcc-12.2.0-initial/gcc' make[4]: [Makefile:4597: all-gcc] Error 2 make[4]: Leaving directory '/home/yph/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/gcc-12.2.0-initial' make[3]: [Makefile:29: /home/yph/openwrt/build_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/gcc-12.2.0-initial/.built] Error 2 make[3]: Leaving directory '/home/yph/openwrt/toolchain/gcc/initial' time: toolchain/gcc/initial/compile#2.15#1.18#3.23 ERROR: toolchain/gcc/initial failed to build. make[2]: [toolchain/Makefile:93: toolchain/gcc/initial/compile] Error 1 make[2]: Leaving directory '/home/yph/openwrt' make[1]: [toolchain/Makefile:89: /home/yph/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/stamp/.toolchain_compile] Error 2 make[1]: Leaving directory '/home/yph/openwrt' make: *** [/home/yph/openwrt/include/toplevel.mk:231: world] Error 2OpenWrt 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