{"action":"created","issue":{"url":"https://api.github.com/repos/ros2/rcl/issues/55","repository_url":"https://api.github.com/repos/ros2/rcl","labels_url":"https://api.github.com/repos/ros2/rcl/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/ros2/rcl/issues/55/comments","events_url":"https://api.github.com/repos/ros2/rcl/issues/55/events","html_url":"https://github.com/ros2/rcl/pull/55","id":151730621,"number":55,"title":"Workaround for the change in libnddscore.so in connext 5.2.0 between gcc4.6.3 and gcc4.8.2","user":{"login":"dhood","id":5618076,"avatar_url":"https://avatars.githubusercontent.com/u/5618076?v=3","gravatar_id":"","url":"https://api.github.com/users/dhood","html_url":"https://github.com/dhood","followers_url":"https://api.github.com/users/dhood/followers","following_url":"https://api.github.com/users/dhood/following{/other_user}","gists_url":"https://api.github.com/users/dhood/gists{/gist_id}","starred_url":"https://api.github.com/users/dhood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhood/subscriptions","organizations_url":"https://api.github.com/users/dhood/orgs","repos_url":"https://api.github.com/users/dhood/repos","events_url":"https://api.github.com/users/dhood/events{/privacy}","received_events_url":"https://api.github.com/users/dhood/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ros2/rcl/labels/in%20progress","name":"in progress","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-28T20:04:02Z","updated_at":"2016-04-28T21:31:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ros2/rcl/pulls/55","html_url":"https://github.com/ros2/rcl/pull/55","diff_url":"https://github.com/ros2/rcl/pull/55.diff","patch_url":"https://github.com/ros2/rcl/pull/55.patch"},"body":"Fixes https://github.com/ros2/rcl/issues/52, which I currently understand to be caused by the connext 5.2.0 package labelled as built with gcc4.8.2 not exporting a dependency on `dl` (in contrast to the one labelled with gcc4.6.3).\r\n\r\nThe executables do have `-ldl` in the linking stage, but `--no-as-needed` is needed to ensure that the linking actually happens.\r\n\r\nAdding a `dlopen(NULL, RTLD_NOW);` call to the `service_fixture` and `client_fixture` files is an alternative workaround because it forces `dl` to not be considered unneeded. \r\n\r\nNo regressions that I can see\r\nhttp://ci.ros2.org/job/ci_linux/1243/\r\nhttp://ci.ros2.org/job/ci_windows/1281/\r\nhttp://ci.ros2.org/job/ci_osx/998/"},"comment":{"url":"https://api.github.com/repos/ros2/rcl/issues/comments/215569084","html_url":"https://github.com/ros2/rcl/pull/55#issuecomment-215569084","issue_url":"https://api.github.com/repos/ros2/rcl/issues/55","id":215569084,"user":{"login":"dirk-thomas","id":1335366,"avatar_url":"https://avatars.githubusercontent.com/u/1335366?v=3","gravatar_id":"","url":"https://api.github.com/users/dirk-thomas","html_url":"https://github.com/dirk-thomas","followers_url":"https://api.github.com/users/dirk-thomas/followers","following_url":"https://api.github.com/users/dirk-thomas/following{/other_user}","gists_url":"https://api.github.com/users/dirk-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/dirk-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirk-thomas/subscriptions","organizations_url":"https://api.github.com/users/dirk-thomas/orgs","repos_url":"https://api.github.com/users/dirk-thomas/repos","events_url":"https://api.github.com/users/dirk-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/dirk-thomas/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T21:31:25Z","updated_at":"2016-04-28T21:31:25Z","body":"lgtm"}}