{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/16796","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/16796/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/16796/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/16796/events","html_url":"https://github.com/JuliaLang/julia/pull/16796","id":158791243,"number":16796,"title":"Fix portability issue that prevents compilation on some systems","user":{"login":"albap","id":16973276,"avatar_url":"https://avatars.githubusercontent.com/u/16973276?v=3","gravatar_id":"","url":"https://api.github.com/users/albap","html_url":"https://github.com/albap","followers_url":"https://api.github.com/users/albap/followers","following_url":"https://api.github.com/users/albap/following{/other_user}","gists_url":"https://api.github.com/users/albap/gists{/gist_id}","starred_url":"https://api.github.com/users/albap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albap/subscriptions","organizations_url":"https://api.github.com/users/albap/orgs","repos_url":"https://api.github.com/users/albap/repos","events_url":"https://api.github.com/users/albap/events{/privacy}","received_events_url":"https://api.github.com/users/albap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-06T22:35:27Z","updated_at":"2016-06-06T23:09:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/16796","html_url":"https://github.com/JuliaLang/julia/pull/16796","diff_url":"https://github.com/JuliaLang/julia/pull/16796.diff","patch_url":"https://github.com/JuliaLang/julia/pull/16796.patch"},"body":"On February 4th, @JeffBezanson accepted a commit from @carnaval that introduced portability issues.\r\nhttps://github.com/JuliaLang/julia/commit/a09fd8dc0e396362744149977ccfe0b3b04937fa\r\nEspecifically it was the use of RTLD_DL_LINKMAP, which is a GNU extension not present on systems that don't use glibc.\r\nPlease, I urge Julia to pay more attention to portability and remember that Linux != GNU (glibc in this case).\r\nThere are other C standard libraries out there, such as musl, μClibc, dietlib, bionic...\r\nWhen we finally got Julia to at least compile by fixing old portability issues, new ones were introduced.\r\nCould we get an official announcement on the mailing list or code guidelines, warning developers not to submit unportable pull requests? To always check if the function they are using is portable or GNU-specific? Maybe even a musl travis check?\r\n\r\nI hope we can keep Julia portable.\r\nThanks for everything.\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/224116182","html_url":"https://github.com/JuliaLang/julia/pull/16796#issuecomment-224116182","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/16796","id":224116182,"user":{"login":"yuyichao","id":712232,"avatar_url":"https://avatars.githubusercontent.com/u/712232?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T23:09:51Z","updated_at":"2016-06-06T23:09:51Z","body":"> Could you please propose a fix?\r\n\r\nI believe you just need to replace the related (this one and the one below) `_OS_LINUX_` with `__GLIBC__`.\r\n\r\n> Are glibc-specific functions so useful that it would be troublesome to start using portable ones instead\r\n\r\nAbsolutely. The standard is also surprisingly fuzzy in many cases on important details..\r\n"}}
{"actor":{"display_login":"yuyichao"}}