Yesterday's "dnf upgrade" on my F28 box upgraded gcc to gcc-8.2.1-6.fc28.x86_64 from 8.3.1-2.fc28.x86_64. Since then (I think), builds fail for me, details appended. Any ideas?
My temporary work-around is configure --disable-tcg. /work/armbru/qemu/tcg/tcg-op.c: In function ‘tcg_gen_clz_i32’: /work/armbru/qemu/tcg/tcg-op.c:430:9: warning: implicit declaration of function ‘gen_helper_clz_i32’; did you mean ‘gen_helper_rem_i32’? [-Wimplicit-function-declaration] gen_helper_clz_i32(ret, arg1, arg2); ^~~~~~~~~~~~~~~~~~ gen_helper_rem_i32 /work/armbru/qemu/tcg/tcg-op.c:430:9: warning: nested extern declaration of ‘gen_helper_clz_i32’ [-Wnested-externs] /work/armbru/qemu/tcg/tcg-op.c: In function ‘tcg_gen_ctz_i32’: /work/armbru/qemu/tcg/tcg-op.c:476:9: warning: implicit declaration of function ‘gen_helper_ctz_i32’; did you mean ‘gen_helper_rem_i32’? [-Wimplicit-function-declaration] gen_helper_ctz_i32(ret, arg1, arg2); ^~~~~~~~~~~~~~~~~~ gen_helper_rem_i32 /work/armbru/qemu/tcg/tcg-op.c:476:9: warning: nested extern declaration of ‘gen_helper_ctz_i32’ [-Wnested-externs] /work/armbru/qemu/tcg/tcg-op.c: In function ‘tcg_gen_clrsb_i32’: /work/armbru/qemu/tcg/tcg-op.c:506:9: warning: implicit declaration of function ‘gen_helper_clrsb_i32’; did you mean ‘gen_helper_rem_i32’? [-Wimplicit-function-declaration] gen_helper_clrsb_i32(ret, arg); ^~~~~~~~~~~~~~~~~~~~ gen_helper_rem_i32 /work/armbru/qemu/tcg/tcg-op.c:506:9: warning: nested extern declaration of ‘gen_helper_clrsb_i32’ [-Wnested-externs] /work/armbru/qemu/tcg/tcg-op.c: In function ‘tcg_gen_ctpop_i32’: /work/armbru/qemu/tcg/tcg-op.c:521:9: warning: implicit declaration of function ‘gen_helper_ctpop_i32’; did you mean ‘gen_helper_remu_i32’? [-Wimplicit-function-declaration] gen_helper_ctpop_i32(ret, arg1); ^~~~~~~~~~~~~~~~~~~~ gen_helper_remu_i32 /work/armbru/qemu/tcg/tcg-op.c:521:9: warning: nested extern declaration of ‘gen_helper_ctpop_i32’ [-Wnested-externs] /work/armbru/qemu/tcg/tcg-op.c: In function ‘tcg_gen_clz_i64’: /work/armbru/qemu/tcg/tcg-op.c:1796:9: warning: implicit declaration of function ‘gen_helper_clz_i64’; did you mean ‘gen_helper_sar_i64’? [-Wimplicit-function-declaration] gen_helper_clz_i64(ret, arg1, arg2); ^~~~~~~~~~~~~~~~~~ gen_helper_sar_i64 /work/armbru/qemu/tcg/tcg-op.c:1796:9: warning: nested extern declaration of ‘gen_helper_clz_i64’ [-Wnested-externs] /work/armbru/qemu/tcg/tcg-op.c: In function ‘tcg_gen_ctz_i64’: /work/armbru/qemu/tcg/tcg-op.c:1841:9: warning: implicit declaration of function ‘gen_helper_ctz_i64’; did you mean ‘gen_helper_sar_i64’? [-Wimplicit-function-declaration] gen_helper_ctz_i64(ret, arg1, arg2); ^~~~~~~~~~~~~~~~~~ gen_helper_sar_i64 /work/armbru/qemu/tcg/tcg-op.c:1841:9: warning: nested extern declaration of ‘gen_helper_ctz_i64’ [-Wnested-externs] /work/armbru/qemu/tcg/tcg-op.c: In function ‘tcg_gen_clrsb_i64’: /work/armbru/qemu/tcg/tcg-op.c:1882:9: warning: implicit declaration of function ‘gen_helper_clrsb_i64’; did you mean ‘gen_helper_mulsh_i64’? [-Wimplicit-function-declaration] gen_helper_clrsb_i64(ret, arg); ^~~~~~~~~~~~~~~~~~~~ gen_helper_mulsh_i64 /work/armbru/qemu/tcg/tcg-op.c:1882:9: warning: nested extern declaration of ‘gen_helper_clrsb_i64’ [-Wnested-externs] /work/armbru/qemu/tcg/tcg-op.c: In function ‘tcg_gen_ctpop_i64’: /work/armbru/qemu/tcg/tcg-op.c:1896:9: warning: implicit declaration of function ‘gen_helper_ctpop_i64’; did you mean ‘gen_helper_muluh_i64’? [-Wimplicit-function-declaration] gen_helper_ctpop_i64(ret, arg1); ^~~~~~~~~~~~~~~~~~~~ gen_helper_muluh_i64 /work/armbru/qemu/tcg/tcg-op.c:1896:9: warning: nested extern declaration of ‘gen_helper_ctpop_i64’ [-Wnested-externs] /work/armbru/qemu/tcg/tcg-op.c: In function ‘tcg_gen_lookup_and_goto_ptr’: /work/armbru/qemu/tcg/tcg-op.c:2615:9: warning: implicit declaration of function ‘gen_helper_lookup_tb_ptr’; did you mean ‘gen_helper_fcnv_t_d_w’? [-Wimplicit-function-declaration] gen_helper_lookup_tb_ptr(ptr, cpu_env); ^~~~~~~~~~~~~~~~~~~~~~~~ gen_helper_fcnv_t_d_w /work/armbru/qemu/tcg/tcg-op.c:2615:9: warning: nested extern declaration of ‘gen_helper_lookup_tb_ptr’ [-Wnested-externs] /work/armbru/qemu/tcg/tcg-op.c: At top level: /work/armbru/qemu/tcg/tcg-op.c:2933:14: error: ‘gen_helper_atomic_cmpxchgb’ undeclared here (not in a function); did you mean ‘helper_atomic_cmpxchgb_mmu’? [MO_8] = gen_helper_atomic_cmpxchgb, ^~~~~~~~~~~~~~~~~~~~~~~~~~ helper_atomic_cmpxchgb_mmu /work/armbru/qemu/tcg/tcg-op.c:2934:23: error: ‘gen_helper_atomic_cmpxchgw_le’ undeclared here (not in a function); did you mean ‘helper_atomic_cmpxchgw_le_mmu’? [MO_16 | MO_LE] = gen_helper_atomic_cmpxchgw_le, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ helper_atomic_cmpxchgw_le_mmu /work/armbru/qemu/tcg/tcg-op.c:2935:23: error: ‘gen_helper_atomic_cmpxchgw_be’ undeclared here (not in a function); did you mean ‘helper_atomic_cmpxchgw_be_mmu’? [MO_16 | MO_BE] = gen_helper_atomic_cmpxchgw_be, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ helper_atomic_cmpxchgw_be_mmu [many more errors follow]