{"action":"created","issue":{"url":"https://api.github.com/repos/bugvm/bugvm/issues/49","repository_url":"https://api.github.com/repos/bugvm/bugvm","labels_url":"https://api.github.com/repos/bugvm/bugvm/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/bugvm/bugvm/issues/49/comments","events_url":"https://api.github.com/repos/bugvm/bugvm/issues/49/events","html_url":"https://github.com/bugvm/bugvm/issues/49","id":151635634,"number":49,"title":"Building llvm fails on Ubuntu 14.04","user":{"login":"ocadaruma","id":6070684,"avatar_url":"https://avatars.githubusercontent.com/u/6070684?v=3","gravatar_id":"","url":"https://api.github.com/users/ocadaruma","html_url":"https://github.com/ocadaruma","followers_url":"https://api.github.com/users/ocadaruma/followers","following_url":"https://api.github.com/users/ocadaruma/following{/other_user}","gists_url":"https://api.github.com/users/ocadaruma/gists{/gist_id}","starred_url":"https://api.github.com/users/ocadaruma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocadaruma/subscriptions","organizations_url":"https://api.github.com/users/ocadaruma/orgs","repos_url":"https://api.github.com/users/ocadaruma/repos","events_url":"https://api.github.com/users/ocadaruma/events{/privacy}","received_events_url":"https://api.github.com/users/ocadaruma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T13:02:13Z","updated_at":"2016-05-03T23:33:36Z","closed_at":null,"body":"I tried to build bugvm/llvm but results with errors.\r\n\r\n```bash\r\n$ /path/to/bugvm/llvm/build.sh\r\n...\r\n/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h:343:19: error: ‘enable_if’ in namespace ‘std’ does not name a type\r\n/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h:343:28: error: expected unqualified-id before ‘<’ token\r\n/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h:354:19: error: ‘enable_if’ in namespace ‘std’ does not name a type\r\n/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h:354:28: error: expected unqualified-id before ‘<’ token\r\n/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h: In constructor ‘llvm::StringRef::StringRef()’:\r\n...\r\nmake[5]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o] Error 1\r\nmake[4]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2\r\nmake[3]: *** [all] Error 2\r\nmake[2]: *** [extllvm-prefix/src/extllvm-stamp/extllvm-build] Error 2\r\nmake[1]: *** [CMakeFiles/extllvm.dir/all] Error 2\r\nmake: *** [all] Error 2\r\nlinux-x86_64 build failed\r\n```\r\n\r\n- Environment:\r\n  - Ubuntu 14.04\r\n  - gcc/g++ 4.7.3\r\n  - cmake: 2.8.12.2\r\n\r\nI found that adding `-std=c++11` flag fixes the problem, but I'm not sure if this is correct.\r\n\r\n`bugvm/llvm/CMakeLists.txt L:45`\r\n\r\n```cmake\r\nset(C_CXX_FLAGS \"${C_CXX_FLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -std=c++11\")\r\n```"},"comment":{"url":"https://api.github.com/repos/bugvm/bugvm/issues/comments/216696649","html_url":"https://github.com/bugvm/bugvm/issues/49#issuecomment-216696649","issue_url":"https://api.github.com/repos/bugvm/bugvm/issues/49","id":216696649,"user":{"login":"ibinti","id":14183944,"avatar_url":"https://avatars.githubusercontent.com/u/14183944?v=3","gravatar_id":"","url":"https://api.github.com/users/ibinti","html_url":"https://github.com/ibinti","followers_url":"https://api.github.com/users/ibinti/followers","following_url":"https://api.github.com/users/ibinti/following{/other_user}","gists_url":"https://api.github.com/users/ibinti/gists{/gist_id}","starred_url":"https://api.github.com/users/ibinti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibinti/subscriptions","organizations_url":"https://api.github.com/users/ibinti/orgs","repos_url":"https://api.github.com/users/ibinti/repos","events_url":"https://api.github.com/users/ibinti/events{/privacy}","received_events_url":"https://api.github.com/users/ibinti/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T23:33:36Z","updated_at":"2016-05-03T23:33:36Z","body":"BugVM was never tested on Ubuntu. It seems now good time to embrace Ubuntu because people like you actually try to use BugVM on Ubuntu."}}