{"action":"opened","issue":{"url":"https://api.github.com/repos/MayhemYDG/iltorb/issues/40","repository_url":"https://api.github.com/repos/MayhemYDG/iltorb","labels_url":"https://api.github.com/repos/MayhemYDG/iltorb/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/MayhemYDG/iltorb/issues/40/comments","events_url":"https://api.github.com/repos/MayhemYDG/iltorb/issues/40/events","html_url":"https://github.com/MayhemYDG/iltorb/issues/40","id":241353868,"number":40,"title":"Segmentation fault on musl systems","user":{"login":"i80and","id":334192,"avatar_url":"https://avatars0.githubusercontent.com/u/334192?v=3","gravatar_id":"","url":"https://api.github.com/users/i80and","html_url":"https://github.com/i80and","followers_url":"https://api.github.com/users/i80and/followers","following_url":"https://api.github.com/users/i80and/following{/other_user}","gists_url":"https://api.github.com/users/i80and/gists{/gist_id}","starred_url":"https://api.github.com/users/i80and/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i80and/subscriptions","organizations_url":"https://api.github.com/users/i80and/orgs","repos_url":"https://api.github.com/users/i80and/repos","events_url":"https://api.github.com/users/i80and/events{/privacy}","received_events_url":"https://api.github.com/users/i80and/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-07T19:09:50Z","updated_at":"2017-07-07T19:09:50Z","closed_at":null,"body":"I'm deploying iltorb into a Docker container running Alpine Linux, but the node process segfaults as soon as I call into iltorb.\r\n\r\nThere are two issues preventing it from working:\r\n\r\n* glibc and musl aren't ABI-compatible: iltorb should build from source, but uses an incompatible binary instead.\r\n* The symbol tinkering in `src/_memcpy.h` creates a hard dependency on glibc. The quick-and-dirty solution is to add an extra definition guard:\r\n  ```c\r\n  #if defined(__linux__) && defined(__x86_64__) && defined(__GLIBC__)\r\n    __asm__(\".symver memcpy,memcpy@GLIBC_2.2.5\");\r\n  #endif\r\n  ```"}}
{"actor":{"display_login":"i80and"}}