{"action":"created","issue":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/1928","repository_url":"https://api.github.com/repos/ldc-developers/ldc","labels_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1928/labels{/name}","comments_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1928/comments","events_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1928/events","html_url":"https://github.com/ldc-developers/ldc/issues/1928","id":196314027,"number":1928,"title":"build error:  undefined reference to `llvm::Twine::str[abi:cxx11]() const'","user":{"login":"timotheecour","id":2194784,"avatar_url":"https://avatars.githubusercontent.com/u/2194784?v=3","gravatar_id":"","url":"https://api.github.com/users/timotheecour","html_url":"https://github.com/timotheecour","followers_url":"https://api.github.com/users/timotheecour/followers","following_url":"https://api.github.com/users/timotheecour/following{/other_user}","gists_url":"https://api.github.com/users/timotheecour/gists{/gist_id}","starred_url":"https://api.github.com/users/timotheecour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timotheecour/subscriptions","organizations_url":"https://api.github.com/users/timotheecour/orgs","repos_url":"https://api.github.com/users/timotheecour/repos","events_url":"https://api.github.com/users/timotheecour/events{/privacy}","received_events_url":"https://api.github.com/users/timotheecour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-19T01:29:04Z","updated_at":"2016-12-19T02:53:26Z","closed_at":null,"body":"```\r\n\r\ngit clone https://github.com/ldc-developers/ldc\r\ncd ldc\r\ngit submodule update --recursive --init\r\nmkdir build && cd build\r\nCMAKE_PREFIX_PATH=`brew --prefix` cmake ..\r\n\r\ngit rev-parse HEAD\r\n1155379b2775d440599c0c44a46ae0af0daf52b2\r\n\r\nmake\r\n\r\n[  7%] Generating bin/ldc2\r\n/home/timothee/git_clone/D/ldc/build/lib/libldc.a(ldctraits.cpp.o): In function `traitsTargetHasFeature(Dstring)':\r\n/home/timothee/git_clone/D/ldc/gen/ldctraits.cpp:43: undefined reference to `llvm::Twine::str[abi:cxx11]() const'\r\n```\r\n\r\non Ubuntu 14.04.5 LTS\r\n"},"comment":{"url":"https://api.github.com/repos/ldc-developers/ldc/issues/comments/267870924","html_url":"https://github.com/ldc-developers/ldc/issues/1928#issuecomment-267870924","issue_url":"https://api.github.com/repos/ldc-developers/ldc/issues/1928","id":267870924,"user":{"login":"timotheecour","id":2194784,"avatar_url":"https://avatars.githubusercontent.com/u/2194784?v=3","gravatar_id":"","url":"https://api.github.com/users/timotheecour","html_url":"https://github.com/timotheecour","followers_url":"https://api.github.com/users/timotheecour/followers","following_url":"https://api.github.com/users/timotheecour/following{/other_user}","gists_url":"https://api.github.com/users/timotheecour/gists{/gist_id}","starred_url":"https://api.github.com/users/timotheecour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timotheecour/subscriptions","organizations_url":"https://api.github.com/users/timotheecour/orgs","repos_url":"https://api.github.com/users/timotheecour/repos","events_url":"https://api.github.com/users/timotheecour/events{/privacy}","received_events_url":"https://api.github.com/users/timotheecour/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T02:53:26Z","updated_at":"2016-12-19T02:53:26Z","body":"never built it on this machine; IIRC it used to work (a while ago, on other machines, probably w older versions of ldc)\r\n\r\nlooks like it's using llvm-3.8 (cf /usr/include/llvm-3.8/ in log below);\r\n\r\n```\r\n/home/timothee/git_clone/D/ldc/build/lib/libldc.a(modules.cpp.o): In function `ForcePassLinking':\r\n/usr/include/llvm-3.8/llvm/LinkAllPasses.h:165: undefined reference to `llvm::createPrintModulePass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'\r\n```\r\n"}}
{"actor":{"display_login":"timotheecour"}}