{"action":"opened","issue":{"url":"https://api.github.com/repos/nerves-project/nerves-sdk/issues/31","labels_url":"https://api.github.com/repos/nerves-project/nerves-sdk/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/nerves-project/nerves-sdk/issues/31/comments","events_url":"https://api.github.com/repos/nerves-project/nerves-sdk/issues/31/events","html_url":"https://github.com/nerves-project/nerves-sdk/issues/31","id":121946512,"number":31,"title":"At assembly time, detect executables compiled for the host architecture","user":{"login":"fhunleth","id":64669,"avatar_url":"https://avatars.githubusercontent.com/u/64669?v=3","gravatar_id":"","url":"https://api.github.com/users/fhunleth","html_url":"https://github.com/fhunleth","followers_url":"https://api.github.com/users/fhunleth/followers","following_url":"https://api.github.com/users/fhunleth/following{/other_user}","gists_url":"https://api.github.com/users/fhunleth/gists{/gist_id}","starred_url":"https://api.github.com/users/fhunleth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhunleth/subscriptions","organizations_url":"https://api.github.com/users/fhunleth/orgs","repos_url":"https://api.github.com/users/fhunleth/repos","events_url":"https://api.github.com/users/fhunleth/events{/privacy}","received_events_url":"https://api.github.com/users/fhunleth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-13T21:54:57Z","updated_at":"2015-12-13T21:54:57Z","closed_at":null,"body":"It is a common problem to accidentally pull in host versions of files. The main offender is `crypto.so`. The firmware assembly scripts could detect this issue and report it to the user.\r\n\r\nThe code in `clean-release.sh` that strips executables is very close to the code needed to do this with the exception that the right answer for the platform will need to be passed in somehow."}}