Description : In the current trunk, gdbserver is not building anymore (with EGLIBC 2.15 selected) due to a missing dependency: Package gdbserver is missing dependencies for the following libraries: libthread_db.so.1
In order to fix it, the system shared lib libthread_db.so.1 is copied from the toolchain lib dir into the gdb package target structure (/usr/lib) to pass the dependency checks. This patch was (quickly) reviewed by Paul Fertser on IRC. This patch refers to ticket 11179. This patch was tested on a TP-LINK 703N DISTRIB_TARGET="ar71xx/generic" DISTRIB_DESCRIPTION="OpenWrt Attitude Adjustment r33206" Signed-off-by: Matthieu Boujonnier <openwrt-de...@metaverse.fr> --- trunk/package/gdb/Makefile.orig 2012-08-25 12:49:29.583032750 +0200 +++ trunk/package/gdb/Makefile 2012-08-25 12:50:40.354038948 +0200 @@ -75,8 +75,10 @@ define Package/gdb/install endef define Package/gdbserver/install - $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/{bin,lib} $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(1)/usr/bin/ + $(CP) $(TOOLCHAIN_DIR)/lib/libthread_db* $(1)/usr/lib endef $(eval $(call BuildPackage,gdb)) +$(eval $(call BuildPackage,gdbserver))
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel