{"action":"created","issue":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/1124","labels_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1124/labels{/name}","comments_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1124/comments","events_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1124/events","html_url":"https://github.com/chapel-lang/chapel/pull/1124","id":54361560,"number":1124,"title":"Don't force static linking when hwloc is used.","user":{"login":"gbtitus","id":7740880,"avatar_url":"https://avatars.githubusercontent.com/u/7740880?v=3","gravatar_id":"","url":"https://api.github.com/users/gbtitus","html_url":"https://github.com/gbtitus","followers_url":"https://api.github.com/users/gbtitus/followers","following_url":"https://api.github.com/users/gbtitus/following{/other_user}","gists_url":"https://api.github.com/users/gbtitus/gists{/gist_id}","starred_url":"https://api.github.com/users/gbtitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbtitus/subscriptions","organizations_url":"https://api.github.com/users/gbtitus/orgs","repos_url":"https://api.github.com/users/gbtitus/repos","events_url":"https://api.github.com/users/gbtitus/events{/privacy}","received_events_url":"https://api.github.com/users/gbtitus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T19:00:52Z","updated_at":"2015-01-14T19:01:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chapel-lang/chapel/pulls/1124","html_url":"https://github.com/chapel-lang/chapel/pull/1124","diff_url":"https://github.com/chapel-lang/chapel/pull/1124.diff","patch_url":"https://github.com/chapel-lang/chapel/pull/1124.patch"},"body":"In https://github.com/chapel-lang/chapel/commit/2f9e3f7 we changed to\r\nforce static linking when hwloc is used.  This turns out to cause a\r\nproblem on certain Linux distros like Centos, where libnuma (which hwloc\r\nuses if it is present) is only available as a shared object (.so), not\r\nas a library archive (.a).  If hwloc configures itself to use libnuma\r\nand only libnuma.so is available, forcing static linking causes an error\r\nat link time when libnuma.a cannot be found.  After checking with the\r\nauthor of 2f9e3f7 I'm removing forced static linking for hwloc.  The\r\nintent at the time was to ensure that Chapel programs linked libhwloc\r\nitself statically, but we believe this is ensured anyway by the fact\r\nthat the same commit enabled building a library archive and disabled\r\nbuilding a shared object."},"comment":{"url":"https://api.github.com/repos/chapel-lang/chapel/issues/comments/69970912","html_url":"https://github.com/chapel-lang/chapel/pull/1124#issuecomment-69970912","issue_url":"https://api.github.com/repos/chapel-lang/chapel/issues/1124","id":69970912,"user":{"login":"gbtitus","id":7740880,"avatar_url":"https://avatars.githubusercontent.com/u/7740880?v=3","gravatar_id":"","url":"https://api.github.com/users/gbtitus","html_url":"https://github.com/gbtitus","followers_url":"https://api.github.com/users/gbtitus/followers","following_url":"https://api.github.com/users/gbtitus/following{/other_user}","gists_url":"https://api.github.com/users/gbtitus/gists{/gist_id}","starred_url":"https://api.github.com/users/gbtitus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbtitus/subscriptions","organizations_url":"https://api.github.com/users/gbtitus/orgs","repos_url":"https://api.github.com/users/gbtitus/repos","events_url":"https://api.github.com/users/gbtitus/events{/privacy}","received_events_url":"https://api.github.com/users/gbtitus/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T19:01:29Z","updated_at":"2015-01-14T19:01:29Z","body":"@thomasvandoren, would you review this one, please?"}}