{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28160","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28160/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28160/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28160/events","html_url":"https://github.com/NixOS/nixpkgs/issues/28160","id":249650333,"node_id":"MDU6SXNzdWUyNDk2NTAzMzM=","number":28160,"title":"Create a Cross Compiler for a Bare Bones Freestanding Program (Bootloader/OS)","user":{"login":"CMCDragonkai","id":640797,"node_id":"MDQ6VXNlcjY0MDc5Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/640797?v=4","gravatar_id":"","url":"https://api.github.com/users/CMCDragonkai","html_url":"https://github.com/CMCDragonkai","followers_url":"https://api.github.com/users/CMCDragonkai/followers","following_url":"https://api.github.com/users/CMCDragonkai/following{/other_user}","gists_url":"https://api.github.com/users/CMCDragonkai/gists{/gist_id}","starred_url":"https://api.github.com/users/CMCDragonkai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMCDragonkai/subscriptions","organizations_url":"https://api.github.com/users/CMCDragonkai/orgs","repos_url":"https://api.github.com/users/CMCDragonkai/repos","events_url":"https://api.github.com/users/CMCDragonkai/events{/privacy}","received_events_url":"https://api.github.com/users/CMCDragonkai/received_events","type":"User","site_admin":false},"labels":[{"id":443329087,"node_id":"MDU6TGFiZWw0NDMzMjkwODc=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20cross-compilation","name":"6.topic: cross-compilation","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-08-11T14:20:17Z","updated_at":"2018-10-30T18:30:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Issue description\r\n\r\nHey @Ericson2314 I've been following your work on `lib.systems`, and I looked up the http://wiki.osdev.org/GCC_Cross-Compiler tutorial, and I found that the basic target of `i686-elf` or `i686-pc-none-elf` doesn't seem supported by NixOS at the moment.\r\n\r\nThe error message is simply: `error: Unknown ABI: elf`.\r\n\r\nThe main issue here is that `lib.systems.elaborate` cannot parse the bare bones target. And from looking at the nix expressions for gcc and binutils, it appears that bare bones target hasn't been considered.\r\n\r\nWhat are your thoughts on this?"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/434418139","html_url":"https://github.com/NixOS/nixpkgs/issues/28160#issuecomment-434418139","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/28160","id":434418139,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDQxODEzOQ==","user":{"login":"matthewbauer","id":19036,"node_id":"MDQ6VXNlcjE5MDM2","avatar_url":"https://avatars0.githubusercontent.com/u/19036?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewbauer","html_url":"https://github.com/matthewbauer","followers_url":"https://api.github.com/users/matthewbauer/followers","following_url":"https://api.github.com/users/matthewbauer/following{/other_user}","gists_url":"https://api.github.com/users/matthewbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewbauer/subscriptions","organizations_url":"https://api.github.com/users/matthewbauer/orgs","repos_url":"https://api.github.com/users/matthewbauer/repos","events_url":"https://api.github.com/users/matthewbauer/events{/privacy}","received_events_url":"https://api.github.com/users/matthewbauer/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T18:30:21Z","updated_at":"2018-10-30T18:30:21Z","author_association":"MEMBER","body":"We don't precompile the i686-pc-elf target yet though. You can add it by adding it to examples.nix."}}
{"actor":{"display_login":"matthewbauer"}}