{"action":"created","issue":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/767","labels_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/767/labels{/name}","comments_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/767/comments","events_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/767/events","html_url":"https://github.com/rejectedsoftware/vibe.d/issues/767","id":39697348,"number":767,"title":"Unable to link against this for unittests + coverage","user":{"login":"SerialVelocity","id":422338,"avatar_url":"https://avatars.githubusercontent.com/u/422338?v=3","gravatar_id":"","url":"https://api.github.com/users/SerialVelocity","html_url":"https://github.com/SerialVelocity","followers_url":"https://api.github.com/users/SerialVelocity/followers","following_url":"https://api.github.com/users/SerialVelocity/following{/other_user}","gists_url":"https://api.github.com/users/SerialVelocity/gists{/gist_id}","starred_url":"https://api.github.com/users/SerialVelocity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SerialVelocity/subscriptions","organizations_url":"https://api.github.com/users/SerialVelocity/orgs","repos_url":"https://api.github.com/users/SerialVelocity/repos","events_url":"https://api.github.com/users/SerialVelocity/events{/privacy}","received_events_url":"https://api.github.com/users/SerialVelocity/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-08-07T06:40:34Z","updated_at":"2015-05-05T06:03:50Z","closed_at":null,"body":"Hey, didn't know whether this is related to dub or vibe.d but when I try to compile my unittests + coverage with ```dub test :subproject --coverage``` it fails miserably with:\r\n\r\n```\r\nbuild type unittest-cov.\r\nCompiling using dmd...\r\nLinking...\r\nUndefined symbols for architecture x86_64:\r\n  \"___coverage\", referenced from:\r\n      _D4vibe4core14connectionpool59__T14ConnectionPoolTC4vibe2db5redis5redis15RedisConnectionZ14ConnectionPool6__ctorMFNaNbNfDFZC4vibe2db5redis5redis15RedisConnectionZC4vibe4core14connectionpool59__T14ConnectionPoolTC4vibe2db5redis5redis15RedisConnectionZ14ConnectionPool in libvibe-d.a(redis.o)\r\n      _D4vibe4core14connectionpool59__T14ConnectionPoolTC4vibe2db5redis5redis15RedisConnectionZ14ConnectionPool14lockConnectionMFZS4vibe4core14connectionpool61__T16LockedConnectionTC4vibe2db5redis5redis15RedisConnectionZ16LockedConnection in libvibe-d.a(redis.o)\r\n      _D4vibe4core14connectionpool59__T14ConnectionPoolTC4vibe2db5redis5redis15RedisConnectionZ14ConnectionPool14lockConnectionMFZS4vibe4core14connectionpool61__T16LockedConnectionTC4vibe2db5redis5redis15RedisConnectionZ16LockedConnection12__dgliteral1MFNaNbNfZAya in libvibe-d.a(redis.o)\r\n      _D4vibe4core14connectionpool59__T14ConnectionPoolTC4vibe2db5redis5redis15RedisConnectionZ14ConnectionPool14lockConnectionMFZS4vibe4core14connectionpool61__T16LockedConnectionTC4vibe2db5redis5redis15RedisConnectionZ16LockedConnection12__dgliteral2MFNbNfZm in libvibe-d.a(redis.o)\r\n      _D4vibe4core14connectionpool59__T14ConnectionPoolTC4vibe2db5redis5redis15RedisConnectionZ14ConnectionPool14lockConnectionMFZS4vibe4core14connectionpool61__T16LockedConnectionTC4vibe2db5redis5redis15RedisConnectionZ16LockedConnection12__dgliteral3MFNaNbNfZm in libvibe-d.a(redis.o)\r\n      _D4vibe4core14connectionpool59__T14ConnectionPoolTC4vibe2db5redis5redis15RedisConnectionZ14ConnectionPool14lockConnectionMFZS4vibe4core14connectionpool61__T16LockedConnectionTC4vibe2db5redis5redis15RedisConnectionZ16LockedConnection12__dgliteral4MFNaNbNfZAya in libvibe-d.a(redis.o)\r\n      _D4vibe4core14connectionpool59__T14ConnectionPoolTC4vibe2db5redis5redis15RedisConnectionZ14ConnectionPool14lockConnectionMFZS4vibe4core14connectionpool61__T16LockedConnectionTC4vibe2db5redis5redis15RedisConnectionZ16LockedConnection12__dgliteral5MFNaNbNfZm in libvibe-d.a(redis.o)\r\n      ...\r\nld: symbol(s) not found for architecture x86_64\r\n```"},"comment":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/comments/98964572","html_url":"https://github.com/rejectedsoftware/vibe.d/issues/767#issuecomment-98964572","issue_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/767","id":98964572,"user":{"login":"denizzzka","id":974632,"avatar_url":"https://avatars.githubusercontent.com/u/974632?v=3","gravatar_id":"","url":"https://api.github.com/users/denizzzka","html_url":"https://github.com/denizzzka","followers_url":"https://api.github.com/users/denizzzka/followers","following_url":"https://api.github.com/users/denizzzka/following{/other_user}","gists_url":"https://api.github.com/users/denizzzka/gists{/gist_id}","starred_url":"https://api.github.com/users/denizzzka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denizzzka/subscriptions","organizations_url":"https://api.github.com/users/denizzzka/orgs","repos_url":"https://api.github.com/users/denizzzka/repos","events_url":"https://api.github.com/users/denizzzka/events{/privacy}","received_events_url":"https://api.github.com/users/denizzzka/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T06:03:50Z","updated_at":"2015-05-05T06:03:50Z","body":"Coverage test still isn't builds:\r\n\r\n```\r\nbuild type unittest-cov.\r\nCompiling using dmd...\r\nLinking...\r\n../.dub/packages/vibe-d-0.7.23/libvibe-d.a(task.o): In function `_D4vibe4core4sync125__T13performLockedS62_D4vibe4core4task12MessageQueue5clearMFZ9__lambda1MFNaNbNiNfZvTC4vibe4core4sync22InterruptibleTaskMutexZ13performLockedMFNfC4vibe4core4sync22InterruptibleTaskMutexZv':\r\n/home/denizzz/dianna2/../.dub/packages/vibe-d-0.7.23/source/vibe/core/sync.d:97: undefined reference to `__coverage'\r\n/home/denizzz/dianna2/../.dub/packages/vibe-d-0.7.23/source/vibe/core/sync.d:99: undefined reference to `__coverage'\r\n/home/denizzz/dianna2/../.dub/packages/vibe-d-0.7.23/source/vibe/core/sync.d:101: undefined reference to `__coverage'\r\n/home/denizzz/dianna2/../.dub/packages/vibe-d-0.7.23/source/vibe/core/sync.d:101: undefined reference to `__coverage'\r\n../.dub/packages/vibe-d-0.7.23/libvibe-d.a(task.o): In function `_D4vibe4core4sync158__T13performLockedS95_D4vibe4core4task12MessageQueue4sendMFS3std7variant18__T8VariantNVmi32Z8VariantNZ9__lambda2MFZvTC4vibe4core4sync22InterruptibleTaskMutexZ13performLockedMFC4vibe4core4sync22InterruptibleTaskMutexZv':\r\n/home/denizzz/dianna2/../.dub/packages/vibe-d-0.7.23/source/vibe/core/sync.d:97: undefined reference to `__coverage'\r\n../.dub/packages/vibe-d-0.7.23/libvibe-d.a(task.o):/home/denizzz/dianna2/../.dub/packages/vibe-d-0.7.23/source/vibe/core/sync.d:99: more undefined references to `__coverage' follow\r\ncollect2: error: ld returned 1 exit status\r\n--- errorlevel 1\r\nFAIL .dub/build/production-unittest-cov-linux.posix-x86_64-dmd_2067-554146DD9026E6DD2B5919533044B66B/ dianna2 executable\r\nError executing command test: dmd failed with exit code 1.\r\n```"}}