"dlsym: resource temporarily unavailable" errors during build of lang/erlang on 11.3 i386

Dave Cottlehuber dch at skunkwerks.at
Thu Dec 5 16:22:27 UTC 2019


On beefy[1] I see the same error repeatedly during i386-only builds. I googled
and am not even mildly enlightened [4]. Can anybody give me a hint please as to
what this is about?

gmake[5]: Entering directory '/wrkdirs/usr/ports/lang/erlang/work/otp-OTP-21.3.8.7/erts/emulator'
if utils/gen_git_version i386-portbld-freebsd11.3/gen_git_version.mk; then touch beam/erl_bif_info.c; fi
echo " PROFILE beam.prof.smp"
 PROFILE beam.prof.smp
rm -f obj/i386-portbld-freebsd11.3/opt/smp/erl*.profraw
set -e; LLVM_PROFILE_FILE="obj/i386-portbld-freebsd11.3/opt/smp/erlc-%m.profraw" \
          ERL_FLAGS="-emu_type prof +S 1" erlc -W  -DPGO \
  -o obj/i386-portbld-freebsd11.3/opt/smp test/estone_SUITE.erl > obj/i386-portbld-freebsd11.3/opt/smp/PROFILE_LOG
dlsym: Resource temporarily unavailable
gmake[5]: *** [i386-portbld-freebsd11.3/Makefile:733: obj/i386-portbld-freebsd11.3/opt/smp/PROFILE] Abort trap (core dumped)


I've also read LLVM's profile data page [2] and maybe this is something we don't
even need to build at all?

[1]: http://beefy1.nyi.freebsd.org/data/113i386-quarterly/518722/logs/erlang-21.3.8.7,4.log
[2]: http://llvm.org/docs/CommandGuide/llvm-profdata.html
[3]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234451
[4]: https://www.reactiongifs.com/wp-content/uploads/2013/11/I-have-no-idea-what-I-am-doing.gif

thanks
Dave


More information about the freebsd-erlang mailing list