{"action":"created","issue":{"url":"https://api.github.com/repos/ofiwg/libfabric/issues/2088","repository_url":"https://api.github.com/repos/ofiwg/libfabric","labels_url":"https://api.github.com/repos/ofiwg/libfabric/issues/2088/labels{/name}","comments_url":"https://api.github.com/repos/ofiwg/libfabric/issues/2088/comments","events_url":"https://api.github.com/repos/ofiwg/libfabric/issues/2088/events","html_url":"https://github.com/ofiwg/libfabric/pull/2088","id":158744335,"number":2088,"title":"verbs: Strengthen configure check to workaround libtool behavior","user":{"login":"a-ilango","id":8547674,"avatar_url":"https://avatars.githubusercontent.com/u/8547674?v=3","gravatar_id":"","url":"https://api.github.com/users/a-ilango","html_url":"https://github.com/a-ilango","followers_url":"https://api.github.com/users/a-ilango/followers","following_url":"https://api.github.com/users/a-ilango/following{/other_user}","gists_url":"https://api.github.com/users/a-ilango/gists{/gist_id}","starred_url":"https://api.github.com/users/a-ilango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-ilango/subscriptions","organizations_url":"https://api.github.com/users/a-ilango/orgs","repos_url":"https://api.github.com/users/a-ilango/repos","events_url":"https://api.github.com/users/a-ilango/events{/privacy}","received_events_url":"https://api.github.com/users/a-ilango/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-06T18:34:47Z","updated_at":"2016-06-06T21:28:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ofiwg/libfabric/pulls/2088","html_url":"https://github.com/ofiwg/libfabric/pull/2088","diff_url":"https://github.com/ofiwg/libfabric/pull/2088.diff","patch_url":"https://github.com/ofiwg/libfabric/pull/2088.patch"},"body":"This is a configure time link test to see if libtool can\r\nsuccessfully link against ibverbs. libtool by default adds\r\nlibrary dependencies of libibverbs when building libfabric.\r\nWhen those libraries are not found, the build fails. This\r\npatch adds a check that prevents build failure and disables\r\nverbs provider instead.\r\n\r\nRefer github libfabric issue #2070 for more info."},"comment":{"url":"https://api.github.com/repos/ofiwg/libfabric/issues/comments/224094064","html_url":"https://github.com/ofiwg/libfabric/pull/2088#issuecomment-224094064","issue_url":"https://api.github.com/repos/ofiwg/libfabric/issues/2088","id":224094064,"user":{"login":"pmmccorm","id":8812360,"avatar_url":"https://avatars.githubusercontent.com/u/8812360?v=3","gravatar_id":"","url":"https://api.github.com/users/pmmccorm","html_url":"https://github.com/pmmccorm","followers_url":"https://api.github.com/users/pmmccorm/followers","following_url":"https://api.github.com/users/pmmccorm/following{/other_user}","gists_url":"https://api.github.com/users/pmmccorm/gists{/gist_id}","starred_url":"https://api.github.com/users/pmmccorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmmccorm/subscriptions","organizations_url":"https://api.github.com/users/pmmccorm/orgs","repos_url":"https://api.github.com/users/pmmccorm/repos","events_url":"https://api.github.com/users/pmmccorm/events{/privacy}","received_events_url":"https://api.github.com/users/pmmccorm/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T21:28:33Z","updated_at":"2016-06-06T21:28:33Z","body":"I still don't get why this is necessary, the check in configure should be enough. Example:\r\n\r\n```\r\n$ gcc somefile.c -libverbs\r\n$ ldd a.out\r\n...we see it linked to the transitive closure of all direct dependencies...\r\n\r\n# now lets take out a dependency of libibverbs:\r\n$ mv /usr/lib64/libnl-route\\* /tmp\r\n\r\n# we can see that libibverbs can't resolve it:\r\n$ ldd /usr/lib64/libibverbs.so\r\n\r\n# now this fails to link and gcc returns error:\r\n$ gcc somefile.c -libverbs\r\n/usr/bin/ld: warning: libnl-route-3.so.200, needed by /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libibverbs.so, not found (try using -rpath or -rpath-link)\r\n/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libibverbs.so: undefined reference to `rtnl_link_put'\r\n...\r\n```\r\n\r\nIs anyone else seeing different behavior?"}}
{"actor":{"display_login":"pmmccorm"}}