{"action":"created","issue":{"url":"https://api.github.com/repos/habitat-sh/core-plans/issues/254","repository_url":"https://api.github.com/repos/habitat-sh/core-plans","labels_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/254/comments","events_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/254/events","html_url":"https://github.com/habitat-sh/core-plans/pull/254","id":186002548,"number":254,"title":"WIP: build coreclr from source","user":{"login":"mwrock","id":655165,"avatar_url":"https://avatars.githubusercontent.com/u/655165?v=3","gravatar_id":"","url":"https://api.github.com/users/mwrock","html_url":"https://github.com/mwrock","followers_url":"https://api.github.com/users/mwrock/followers","following_url":"https://api.github.com/users/mwrock/following{/other_user}","gists_url":"https://api.github.com/users/mwrock/gists{/gist_id}","starred_url":"https://api.github.com/users/mwrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwrock/subscriptions","organizations_url":"https://api.github.com/users/mwrock/orgs","repos_url":"https://api.github.com/users/mwrock/repos","events_url":"https://api.github.com/users/mwrock/events{/privacy}","received_events_url":"https://api.github.com/users/mwrock/received_events","type":"User","site_admin":false},"labels":[{"id":404487992,"url":"https://api.github.com/repos/habitat-sh/core-plans/labels/In%20Progress","name":"In Progress","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-28T19:29:44Z","updated_at":"2016-10-28T19:42:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/habitat-sh/core-plans/pulls/254","html_url":"https://github.com/habitat-sh/core-plans/pull/254","diff_url":"https://github.com/habitat-sh/core-plans/pull/254.diff","patch_url":"https://github.com/habitat-sh/core-plans/pull/254.patch"},"body":"This is totally \"hack city\" right now and totally does not work. If you like broken builds you'll LOVE this plan!"},"comment":{"url":"https://api.github.com/repos/habitat-sh/core-plans/issues/comments/257010710","html_url":"https://github.com/habitat-sh/core-plans/pull/254#issuecomment-257010710","issue_url":"https://api.github.com/repos/habitat-sh/core-plans/issues/254","id":257010710,"user":{"login":"mwrock","id":655165,"avatar_url":"https://avatars.githubusercontent.com/u/655165?v=3","gravatar_id":"","url":"https://api.github.com/users/mwrock","html_url":"https://github.com/mwrock","followers_url":"https://api.github.com/users/mwrock/followers","following_url":"https://api.github.com/users/mwrock/following{/other_user}","gists_url":"https://api.github.com/users/mwrock/gists{/gist_id}","starred_url":"https://api.github.com/users/mwrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwrock/subscriptions","organizations_url":"https://api.github.com/users/mwrock/orgs","repos_url":"https://api.github.com/users/mwrock/repos","events_url":"https://api.github.com/users/mwrock/events{/privacy}","received_events_url":"https://api.github.com/users/mwrock/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T19:42:54Z","updated_at":"2016-10-28T19:42:54Z","body":"Disclaimer: before starting this PR I did not know what `ld` did so thats where my linux c++ tool chain knowledg is.\r\n\r\nCurrently this is configuring and the compilation fails ~30% of the way in because it complains that \"this platform\" does not support hi-res time. I looked into the cmake script where it makes that determination. It basically wants to see if `clock_gettime` works. To od so it creates, compiles and runs:\r\n```\r\n#include <stdlib.h>\r\n#include <time.h>\r\n#include <sys/time.h>\r\n\r\nint main()\r\n{\r\n\t  int ret;\r\n         struct timespec ts;\r\n         ret = clock_gettime(CLOCK_REALTIME, &ts);\r\n\t exit(ret);\r\n}\r\n```\r\nIt wants a `0` exit.\r\n\r\nI'm running in docker on moby linux. I have manually compiled this and it succeeds ONLY IF I `patchelf` the built binary and change the interpretter. I have also looked at the headers of the libraries that the build creates in its first 30% and their interpretter is pointing to `/lib64/ld-linux-x86-64.so.2` and this is why I think the cmake test is bombing. So I'm looking into how to get the code built with the right interpretter."}}
{"actor":{"display_login":"mwrock"}}