{"action":"created","comment":{"url":"https://api.github.com/repos/rumpkernel/rumprun/pulls/comments/38642221","id":38642221,"diff_hunk":"@@ -0,0 +1,9 @@\n+LIB=\t\trumpkern_compiler_rt","path":"lib/librumpkern_compiler_rt/Makefile","position":1,"original_position":1,"commit_id":"36a8254add845b6dd0d40869c2cbd802ec467a3e","original_commit_id":"36a8254add845b6dd0d40869c2cbd802ec467a3e","user":{"login":"anttikantee","id":2079675,"avatar_url":"https://avatars.githubusercontent.com/u/2079675?v=3","gravatar_id":"","url":"https://api.github.com/users/anttikantee","html_url":"https://github.com/anttikantee","followers_url":"https://api.github.com/users/anttikantee/followers","following_url":"https://api.github.com/users/anttikantee/following{/other_user}","gists_url":"https://api.github.com/users/anttikantee/gists{/gist_id}","starred_url":"https://api.github.com/users/anttikantee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anttikantee/subscriptions","organizations_url":"https://api.github.com/users/anttikantee/orgs","repos_url":"https://api.github.com/users/anttikantee/repos","events_url":"https://api.github.com/users/anttikantee/events{/privacy}","received_events_url":"https://api.github.com/users/anttikantee/received_events","type":"User","site_admin":false},"body":"I wouldn't call it `rumpkern_compiler_rt` since it has nothing to do with the rump kernel.  How just `compiler_rt`?","created_at":"2015-09-03T12:59:04Z","updated_at":"2015-09-03T12:59:04Z","html_url":"https://github.com/rumpkernel/rumprun/pull/46#discussion_r38642221","pull_request_url":"https://api.github.com/repos/rumpkernel/rumprun/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/rumpkernel/rumprun/pulls/comments/38642221"},"html":{"href":"https://github.com/rumpkernel/rumprun/pull/46#discussion_r38642221"},"pull_request":{"href":"https://api.github.com/repos/rumpkernel/rumprun/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/rumpkernel/rumprun/pulls/46","id":44099821,"html_url":"https://github.com/rumpkernel/rumprun/pull/46","diff_url":"https://github.com/rumpkernel/rumprun/pull/46.diff","patch_url":"https://github.com/rumpkernel/rumprun/pull/46.patch","issue_url":"https://api.github.com/repos/rumpkernel/rumprun/issues/46","number":46,"state":"open","locked":false,"title":"Add build-rr.sh -k flag to build without userland libraries","user":{"login":"gandro","id":50564,"avatar_url":"https://avatars.githubusercontent.com/u/50564?v=3","gravatar_id":"","url":"https://api.github.com/users/gandro","html_url":"https://github.com/gandro","followers_url":"https://api.github.com/users/gandro/followers","following_url":"https://api.github.com/users/gandro/following{/other_user}","gists_url":"https://api.github.com/users/gandro/gists{/gist_id}","starred_url":"https://api.github.com/users/gandro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gandro/subscriptions","organizations_url":"https://api.github.com/users/gandro/orgs","repos_url":"https://api.github.com/users/gandro/repos","events_url":"https://api.github.com/users/gandro/events{/privacy}","received_events_url":"https://api.github.com/users/gandro/received_events","type":"User","site_admin":false},"body":"This will build the rump kernel bits and the platform code (i.e. librumpuser), but without libc or (as a consequence) app-tools. The motivation behind this is a use case where one invokes the rump kernel directly.\r\n\r\nAs there is no rumprun_base, the client code needs to provide the mainthread entry point invoked by the platform code. Linking also has to be done manually. This pull request contains some example code, showing how one could do this. Because there is no libc, `compiler_rt` from the NetBSD tree is built if `-k` is used.\r\n\r\nCurrently, only the `hw` platform is supported. I haven't found the time yet to fix `xen` support, e.g. `mini-os/types.h` currently includes some userland headers.","created_at":"2015-09-03T12:20:00Z","updated_at":"2015-09-03T12:59:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c4ff7acaef7d3278cf9550b3a05c67dfe10ca8c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rumpkernel/rumprun/pulls/46/commits","review_comments_url":"https://api.github.com/repos/rumpkernel/rumprun/pulls/46/comments","review_comment_url":"https://api.github.com/repos/rumpkernel/rumprun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rumpkernel/rumprun/issues/46/comments","statuses_url":"https://api.github.com/repos/rumpkernel/rumprun/statuses/36a8254add845b6dd0d40869c2cbd802ec467a3e","head":{"label":"gandro:nolibc-hw","ref":"nolibc-hw","sha":"36a8254add845b6dd0d40869c2cbd802ec467a3e","user":{"login":"gandro","id":50564,"avatar_url":"https://avatars.githubusercontent.com/u/50564?v=3","gravatar_id":"","url":"https://api.github.com/users/gandro","html_url":"https://github.com/gandro","followers_url":"https://api.github.com/users/gandro/followers","following_url":"https://api.github.com/users/gandro/following{/other_user}","gists_url":"https://api.github.com/users/gandro/gists{/gist_id}","starred_url":"https://api.github.com/users/gandro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gandro/subscriptions","organizations_url":"https://api.github.com/users/gandro/orgs","repos_url":"https://api.github.com/users/gandro/repos","events_url":"https://api.github.com/users/gandro/events{/privacy}","received_events_url":"https://api.github.com/users/gandro/received_events","type":"User","site_admin":false},"repo":{"id":35387437,"name":"rumprun","full_name":"gandro/rumprun","owner":{"login":"gandro","id":50564,"avatar_url":"https://avatars.githubusercontent.com/u/50564?v=3","gravatar_id":"","url":"https://api.github.com/users/gandro","html_url":"https://github.com/gandro","followers_url":"https://api.github.com/users/gandro/followers","following_url":"https://api.github.com/users/gandro/following{/other_user}","gists_url":"https://api.github.com/users/gandro/gists{/gist_id}","starred_url":"https://api.github.com/users/gandro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gandro/subscriptions","organizations_url":"https://api.github.com/users/gandro/orgs","repos_url":"https://api.github.com/users/gandro/repos","events_url":"https://api.github.com/users/gandro/events{/privacy}","received_events_url":"https://api.github.com/users/gandro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gandro/rumprun","description":"The rumprun unikernel and toolchain for various platforms","fork":true,"url":"https://api.github.com/repos/gandro/rumprun","forks_url":"https://api.github.com/repos/gandro/rumprun/forks","keys_url":"https://api.github.com/repos/gandro/rumprun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gandro/rumprun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gandro/rumprun/teams","hooks_url":"https://api.github.com/repos/gandro/rumprun/hooks","issue_events_url":"https://api.github.com/repos/gandro/rumprun/issues/events{/number}","events_url":"https://api.github.com/repos/gandro/rumprun/events","assignees_url":"https://api.github.com/repos/gandro/rumprun/assignees{/user}","branches_url":"https://api.github.com/repos/gandro/rumprun/branches{/branch}","tags_url":"https://api.github.com/repos/gandro/rumprun/tags","blobs_url":"https://api.github.com/repos/gandro/rumprun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gandro/rumprun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gandro/rumprun/git/refs{/sha}","trees_url":"https://api.github.com/repos/gandro/rumprun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gandro/rumprun/statuses/{sha}","languages_url":"https://api.github.com/repos/gandro/rumprun/languages","stargazers_url":"https://api.github.com/repos/gandro/rumprun/stargazers","contributors_url":"https://api.github.com/repos/gandro/rumprun/contributors","subscribers_url":"https://api.github.com/repos/gandro/rumprun/subscribers","subscription_url":"https://api.github.com/repos/gandro/rumprun/subscription","commits_url":"https://api.github.com/repos/gandro/rumprun/commits{/sha}","git_commits_url":"https://api.github.com/repos/gandro/rumprun/git/commits{/sha}","comments_url":"https://api.github.com/repos/gandro/rumprun/comments{/number}","issue_comment_url":"https://api.github.com/repos/gandro/rumprun/issues/comments{/number}","contents_url":"https://api.github.com/repos/gandro/rumprun/contents/{+path}","compare_url":"https://api.github.com/repos/gandro/rumprun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gandro/rumprun/merges","archive_url":"https://api.github.com/repos/gandro/rumprun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gandro/rumprun/downloads","issues_url":"https://api.github.com/repos/gandro/rumprun/issues{/number}","pulls_url":"https://api.github.com/repos/gandro/rumprun/pulls{/number}","milestones_url":"https://api.github.com/repos/gandro/rumprun/milestones{/number}","notifications_url":"https://api.github.com/repos/gandro/rumprun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gandro/rumprun/labels{/name}","releases_url":"https://api.github.com/repos/gandro/rumprun/releases{/id}","created_at":"2015-05-10T20:47:14Z","updated_at":"2015-05-10T20:47:15Z","pushed_at":"2015-09-03T12:39:17Z","git_url":"git://github.com/gandro/rumprun.git","ssh_url":"git@github.com:gandro/rumprun.git","clone_url":"https://github.com/gandro/rumprun.git","svn_url":"https://github.com/gandro/rumprun","homepage":"","size":2952,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rumpkernel:master","ref":"master","sha":"0e7dff1e6daddf86e2d025825339ed8762863750","user":{"login":"rumpkernel","id":6481016,"avatar_url":"https://avatars.githubusercontent.com/u/6481016?v=3","gravatar_id":"","url":"https://api.github.com/users/rumpkernel","html_url":"https://github.com/rumpkernel","followers_url":"https://api.github.com/users/rumpkernel/followers","following_url":"https://api.github.com/users/rumpkernel/following{/other_user}","gists_url":"https://api.github.com/users/rumpkernel/gists{/gist_id}","starred_url":"https://api.github.com/users/rumpkernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rumpkernel/subscriptions","organizations_url":"https://api.github.com/users/rumpkernel/orgs","repos_url":"https://api.github.com/users/rumpkernel/repos","events_url":"https://api.github.com/users/rumpkernel/events{/privacy}","received_events_url":"https://api.github.com/users/rumpkernel/received_events","type":"Organization","site_admin":false},"repo":{"id":31077135,"name":"rumprun","full_name":"rumpkernel/rumprun","owner":{"login":"rumpkernel","id":6481016,"avatar_url":"https://avatars.githubusercontent.com/u/6481016?v=3","gravatar_id":"","url":"https://api.github.com/users/rumpkernel","html_url":"https://github.com/rumpkernel","followers_url":"https://api.github.com/users/rumpkernel/followers","following_url":"https://api.github.com/users/rumpkernel/following{/other_user}","gists_url":"https://api.github.com/users/rumpkernel/gists{/gist_id}","starred_url":"https://api.github.com/users/rumpkernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rumpkernel/subscriptions","organizations_url":"https://api.github.com/users/rumpkernel/orgs","repos_url":"https://api.github.com/users/rumpkernel/repos","events_url":"https://api.github.com/users/rumpkernel/events{/privacy}","received_events_url":"https://api.github.com/users/rumpkernel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rumpkernel/rumprun","description":"The Rumprun unikernel and toolchain for various platforms","fork":false,"url":"https://api.github.com/repos/rumpkernel/rumprun","forks_url":"https://api.github.com/repos/rumpkernel/rumprun/forks","keys_url":"https://api.github.com/repos/rumpkernel/rumprun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rumpkernel/rumprun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rumpkernel/rumprun/teams","hooks_url":"https://api.github.com/repos/rumpkernel/rumprun/hooks","issue_events_url":"https://api.github.com/repos/rumpkernel/rumprun/issues/events{/number}","events_url":"https://api.github.com/repos/rumpkernel/rumprun/events","assignees_url":"https://api.github.com/repos/rumpkernel/rumprun/assignees{/user}","branches_url":"https://api.github.com/repos/rumpkernel/rumprun/branches{/branch}","tags_url":"https://api.github.com/repos/rumpkernel/rumprun/tags","blobs_url":"https://api.github.com/repos/rumpkernel/rumprun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rumpkernel/rumprun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rumpkernel/rumprun/git/refs{/sha}","trees_url":"https://api.github.com/repos/rumpkernel/rumprun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rumpkernel/rumprun/statuses/{sha}","languages_url":"https://api.github.com/repos/rumpkernel/rumprun/languages","stargazers_url":"https://api.github.com/repos/rumpkernel/rumprun/stargazers","contributors_url":"https://api.github.com/repos/rumpkernel/rumprun/contributors","subscribers_url":"https://api.github.com/repos/rumpkernel/rumprun/subscribers","subscription_url":"https://api.github.com/repos/rumpkernel/rumprun/subscription","commits_url":"https://api.github.com/repos/rumpkernel/rumprun/commits{/sha}","git_commits_url":"https://api.github.com/repos/rumpkernel/rumprun/git/commits{/sha}","comments_url":"https://api.github.com/repos/rumpkernel/rumprun/comments{/number}","issue_comment_url":"https://api.github.com/repos/rumpkernel/rumprun/issues/comments{/number}","contents_url":"https://api.github.com/repos/rumpkernel/rumprun/contents/{+path}","compare_url":"https://api.github.com/repos/rumpkernel/rumprun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rumpkernel/rumprun/merges","archive_url":"https://api.github.com/repos/rumpkernel/rumprun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rumpkernel/rumprun/downloads","issues_url":"https://api.github.com/repos/rumpkernel/rumprun/issues{/number}","pulls_url":"https://api.github.com/repos/rumpkernel/rumprun/pulls{/number}","milestones_url":"https://api.github.com/repos/rumpkernel/rumprun/milestones{/number}","notifications_url":"https://api.github.com/repos/rumpkernel/rumprun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rumpkernel/rumprun/labels{/name}","releases_url":"https://api.github.com/repos/rumpkernel/rumprun/releases{/id}","created_at":"2015-02-20T17:55:46Z","updated_at":"2015-09-02T13:12:46Z","pushed_at":"2015-09-03T12:39:18Z","git_url":"git://github.com/rumpkernel/rumprun.git","ssh_url":"git@github.com:rumpkernel/rumprun.git","clone_url":"https://github.com/rumpkernel/rumprun.git","svn_url":"https://github.com/rumpkernel/rumprun","homepage":"","size":3748,"stargazers_count":74,"watchers_count":74,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":11,"forks":15,"open_issues":11,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rumpkernel/rumprun/pulls/46"},"html":{"href":"https://github.com/rumpkernel/rumprun/pull/46"},"issue":{"href":"https://api.github.com/repos/rumpkernel/rumprun/issues/46"},"comments":{"href":"https://api.github.com/repos/rumpkernel/rumprun/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/rumpkernel/rumprun/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/rumpkernel/rumprun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rumpkernel/rumprun/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/rumpkernel/rumprun/statuses/36a8254add845b6dd0d40869c2cbd802ec467a3e"}}}}