Created attachment 400424 [details] emerge --info There is a flag to be set that enables/disables event_set_mem_functions(). This flag appears to be disabled by default with no apparent option to enable it via portage. The flag is detailed here: http://www.wangafu.net/~nickm/libevent-2.1/doxygen/html/event_8h.html Logs from the issue are located here, along with the solution I currently I have implemented (which is to unintall libevent and user a version build from source): https://github.com/rejectedsoftware/vibe.d/issues/1055 Programs which use this hook cannot compile or run due to this issue. Occurs with both versions 2.0.22 and 2.1.5.
Can you please attach the build.log too.
Created attachment 400796 [details] build.log
Comment on attachment 400796 [details] build.log That's rather pointless as the problem doesn't occur in libevent.
Fixed in 2.1.8.
I have just reverted that change. It turns out --enable-malloc-replacement was always covered by USE=debug. It should probably not end up being used in stable environments, and developers shouldn't depend on its "features".