-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workaround for the change in libnddscore.so in connext 5.2.0 between gcc4.6.3 and gcc4.8.2 #55
Conversation
…gcc4.6.3 and gcc4.8.2
if(NOT "${ARGN} " STREQUAL " ") | ||
message(FATAL_ERROR "append_link_flags() called with " | ||
"unused arguments: ${ARGN}") | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a local macro which is not used externally I would not bother with this check and save the four lines.
69de08c
to
2ae8819
Compare
lgtm |
lgtm too |
With Connext 5.2.3 on Xenial I needed the same patch for these targets (note all failing targets are ending with
I don't know why only for those targets are affected and not for the others. And therefore I hesitate to apply the same patch in these cases. Since the RTI Connext release notes mentioned that |
…s2#55) * Don't try to interrupt an exiting process * Remove unnecessary get_default_filtered_prefixes usage
Fixes #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).The executables do have
-ldl
in the linking stage, but--no-as-needed
is needed to ensure that the linking actually happens.Adding a
dlopen(NULL, RTLD_NOW);
call to theservice_fixture
andclient_fixture
files is an alternative workaround because it forcesdl
to not be considered unneeded.No regressions that I can see
http://ci.ros2.org/job/ci_linux/1243/
http://ci.ros2.org/job/ci_windows/1281/
http://ci.ros2.org/job/ci_osx/998/