1*4882a593SmuzhiyunFrom c098500aee945ee7a3021649eb0a2655b004103c Mon Sep 17 00:00:00 2001 2*4882a593SmuzhiyunFrom: Fabrice Fontaine <fontaine.fabrice@gmail.com> 3*4882a593SmuzhiyunDate: Thu, 18 Nov 2021 22:52:08 +0100 4*4882a593SmuzhiyunSubject: [PATCH] gdbserver/Makefile.in: fix NLS build 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunFix the following build failure raised since gdb version 10.1 and 7*4882a593Smuzhiyunhttps://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=9a665d62266e75f0519f3a663784c458885b5c63: 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun CXXLD libinproctrace.so 10*4882a593Smuzhiyun/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: gdbsupport/tdesc-ipa.o: in function `print_xml_feature::visit(tdesc_type_builtin const*)': 11*4882a593Smuzhiyun/home/buildroot/autobuild/instance-2/output-1/build/gdb-10.2/build/gdbserver/../../gdbserver/../gdbsupport/tdesc.cc:310: undefined reference to `libintl_gettext' 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunFixes: 14*4882a593Smuzhiyun - http://autobuild.buildroot.org/results/faacc874fe9d32b74cb3d3dea988ef661cb0e3d0 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunSigned-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 17*4882a593Smuzhiyun[Upstream status: 18*4882a593Smuzhiyunhttps://sourceware.org/pipermail/gdb-patches/2021-November/183580.html] 19*4882a593Smuzhiyun--- 20*4882a593Smuzhiyun gdbserver/Makefile.in | 2 +- 21*4882a593Smuzhiyun 1 file changed, 1 insertion(+), 1 deletion(-) 22*4882a593Smuzhiyun 23*4882a593Smuzhiyundiff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in 24*4882a593Smuzhiyunindex 71c3c4ad959..e69fbc4dae4 100644 25*4882a593Smuzhiyun--- a/gdbserver/Makefile.in 26*4882a593Smuzhiyun+++ b/gdbserver/Makefile.in 27*4882a593Smuzhiyun@@ -383,7 +383,7 @@ $(IPA_LIB): $(sort $(IPA_OBJS)) ${CDEPS} 28*4882a593Smuzhiyun $(ECHO_CXXLD) $(CC_LD) -shared -fPIC -Wl,--soname=$(IPA_LIB) \ 29*4882a593Smuzhiyun -Wl,--no-undefined $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) \ 30*4882a593Smuzhiyun $(CXXFLAGS) \ 31*4882a593Smuzhiyun- -o $(IPA_LIB) ${IPA_OBJS} $(LIBIBERTY_FOR_SHLIB) -ldl -pthread 32*4882a593Smuzhiyun+ -o $(IPA_LIB) ${IPA_OBJS} $(LIBIBERTY_FOR_SHLIB) -ldl -pthread $(INTL) 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun # Put the proper machine-specific files first, so M-. on a machine 35*4882a593Smuzhiyun # specific routine gets the one for the correct machine. 36*4882a593Smuzhiyun-- 37*4882a593Smuzhiyun2.33.0 38*4882a593Smuzhiyun 39