Created attachment 547746 [details] dev-lang:erlang-21.0.9:20180924-053714.log make -f x86_64-pc-linux-gnu/Makefile TYPE=opt make[4]: Entering directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts/emulator' if utils/gen_git_version x86_64-pc-linux-gnu/gen_git_version.mk; then touch beam/erl_bif_info.c; fi echo " PROFILE beam.prof.smp" PROFILE beam.prof.smp rm -f obj/x86_64-pc-linux-gnu/opt/smp/erl*.profraw set -e; LLVM_PROFILE_FILE="obj/x86_64-pc-linux-gnu/opt/smp/erlc-%m.profraw" \ ERL_FLAGS="-emu_type prof +S 1" erlc -W -DPGO \ -o obj/x86_64-pc-linux-gnu/opt/smp test/estone_SUITE.erl > obj/x86_64-pc-linux-gnu/opt/smp/PROFILE_LOG set -e; LLVM_PROFILE_FILE="obj/x86_64-pc-linux-gnu/opt/smp/erl-%m.profraw" \ ERL_FLAGS="-emu_type prof +S 1" erl -boot start_clean -pa obj/x86_64-pc-linux-gnu/opt/smp \ -noshell -s estone_SUITE pgo -s init stop >> obj/x86_64-pc-linux-gnu/opt/smp/PROFILE_LOG touch obj/x86_64-pc-linux-gnu/opt/smp/PROFILE mv obj/x86_64-pc-linux-gnu/opt/smp/beam_emu_pg.gcda obj/x86_64-pc-linux-gnu/opt/smp/beam_emu_pu.gcda mv obj/x86_64-pc-linux-gnu/opt/smp/erl_process_pg.gcda obj/x86_64-pc-linux-gnu/opt/smp/erl_process_pu.gcda mv: cannot stat 'obj/x86_64-pc-linux-gnu/opt/smp/beam_emu_pg.gcda': No such file or directory make[4]: *** [x86_64-pc-linux-gnu/Makefile:742: obj/x86_64-pc-linux-gnu/opt/smp/beam_emu_pu.gcda] Error 1 make[4]: *** Waiting for unfinished jobs.... mv: cannot stat 'obj/x86_64-pc-linux-gnu/opt/smp/erl_process_pg.gcda': No such file or directory make[4]: *** [x86_64-pc-linux-gnu/Makefile:742: obj/x86_64-pc-linux-gnu/opt/smp/erl_process_pu.gcda] Error 1 make[4]: Leaving directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts/emulator' make[3]: *** [/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/make/run_make.mk:35: opt] Error 2 make[3]: Leaving directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts/emulator' make[2]: *** [Makefile:45: opt] Error 2 make[2]: Leaving directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts' make[1]: *** [Makefile:54: smp] Error 2 make[1]: Leaving directory '/tmp/portage/dev-lang/erlang-21.0.9/work/otp-OTP-21.0.9/erts' make: *** [Makefile:473: emulator] Error 2
Created attachment 547748 [details] emerge-info.txt
MAKEOPTS=-j1 seems to work, so it's a parallel make issue.
For me MAKEOPTS wasn't enough, also had to disable distcc.
This should be worked around in 21.1.