A few weeks ago when i updated my gentoo system, I couldn't build my projects anymore. I have tried all sorts of things and am out of ideas. Any help would be appreciated.

This is a gentoo running kernel version 3.18.7-gentoo, gcc 4.8.3, binutils 2.24-r3

This is the output from dub:

$ dub
Target vibe-d 0.7.22 is up to date. Use --force to rebuild.
Target mysql-native 0.1.1 is up to date. Use --force to rebuild.
Building dtest ~master configuration "application", build type debug.
Running gdc...
../../.dub/packages/vibe-d-0.7.22/libvibe-d.a: In function _D4vibe4core7drivers9libevent215Libevent2Driver6__ctorMFC4vibe4core6driver10DriverCoreZC4vibe4core7drivers9libevent215Libevent2Driver':<br>/home/******/projects/newproj/../../.dub/packages/vibe-d-0.7.22/source/vibe/core/drivers/libevent2.d:91: undefined reference to eventsetmemfunctions'
collect2: error: ld returned 1 exit status
FAIL .dub/build/application-debug-linux.posix-x86
64-gdc_2065-76B3E0488DD269990492210F17969A8A/ dtest executable
Error executing command run: gdc failed with exit code 1.

I have tried a new project with the same result, and done a --force and also deleting everything in ~/.dub/. I have also tried using ldc2 and dmd.