[gazebo] 01/01: Added new patch to fix circular linking problems on newer ld
Jose Luis Rivero
jrivero-guest at moszumanska.debian.org
Thu Oct 8 18:41:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
jrivero-guest pushed a commit to branch master
in repository gazebo.
commit bfb77264dbf348bc86a4f536afa4cee5db13b0f5
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date: Thu Oct 8 20:40:49 2015 +0200
Added new patch to fix circular linking problems on newer ld
---
debian/patches/0001_circular_dependency.patch | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/debian/patches/0001_circular_dependency.patch b/debian/patches/0001_circular_dependency.patch
new file mode 100644
index 0000000..cd49907
--- /dev/null
+++ b/debian/patches/0001_circular_dependency.patch
@@ -0,0 +1,20 @@
+Description: use no-as-needed to link gz
+ This way circular depedency problem is not triggered while upstream
+ is working on properly fixing it via code redesign.
+Bug: https://bitbucket.org/osrf/gazebo/issues/1516/physics-classes-call-sensors-functions
+Author: Jose Luis Rivero <jrivero at osrfoundation.org>
+Last-Update: 2015-08-02
+Forwarded: not-needed
+
+diff -r 6f51fd02c306 tools/CMakeLists.txt
+--- a/tools/CMakeLists.txt Sun Aug 02 12:41:12 2015 -0700
++++ b/tools/CMakeLists.txt Thu Oct 08 00:58:15 2015 +0200
+@@ -43,6 +43,8 @@
+ gazebo_msgs gazebo_common gazebo_transport gazebo_gui gazebo_physics
+ gazebo_physics_ode gazebo_sensors ${QT_LIBRARIES} ${Boost_LIBRARIES})
+
++set_target_properties(gz PROPERTIES LINK_FLAGS "-Wl,--no-as-needed")
++
+ if(HAVE_BULLET)
+ target_link_libraries(gz gazebo_physics_bullet)
+ endif()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gazebo.git
More information about the debian-science-commits
mailing list