gdb: new version v11.1 (#25920)
This commit is contained in:
parent
acd4186a88
commit
6476e0cf02
3 changed files with 15 additions and 1 deletions
12
var/spack/repos/builtin/packages/gdb/gdb-libintl-11.patch
Normal file
12
var/spack/repos/builtin/packages/gdb/gdb-libintl-11.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff -Naur gdbserver/Makefile.in gdbserver/Makefile.in
|
||||||
|
--- gdbserver/Makefile.in 2021-07-03 13:41:11.000000000 -0400
|
||||||
|
+++ gdbserver/Makefile.in 2021-09-13 14:53:13.402962333 -0400
|
||||||
|
@@ -404,7 +404,7 @@
|
||||||
|
$(ECHO_CXXLD) $(CC_LD) -shared -fPIC -Wl,--soname=$(IPA_LIB) \
|
||||||
|
-Wl,--no-undefined $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) \
|
||||||
|
$(CXXFLAGS) \
|
||||||
|
- -o $(IPA_LIB) ${IPA_OBJS} $(LIBIBERTY_FOR_SHLIB) -ldl -pthread
|
||||||
|
+ -o $(IPA_LIB) ${IPA_OBJS} $(INTL) $(LIBIBERTY_FOR_SHLIB) -ldl -pthread
|
||||||
|
|
||||||
|
# Put the proper machine-specific files first, so M-. on a machine
|
||||||
|
# specific routine gets the one for the correct machine.
|
|
@ -19,6 +19,7 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
|
||||||
|
|
||||||
maintainers = ['robertu94']
|
maintainers = ['robertu94']
|
||||||
|
|
||||||
|
version('11.1', sha256='cc2903474e965a43d09c3b263952d48ced39dd22ce2d01968f3aa181335fcb9c')
|
||||||
version('10.2', sha256='b33ad58d687487a821ec8d878daab0f716be60d0936f2e3ac5cf08419ce70350')
|
version('10.2', sha256='b33ad58d687487a821ec8d878daab0f716be60d0936f2e3ac5cf08419ce70350')
|
||||||
version('10.1', sha256='f12f388b99e1408c01308c3f753313fafa45517740c81ab7ed0d511b13e2cf55')
|
version('10.1', sha256='f12f388b99e1408c01308c3f753313fafa45517740c81ab7ed0d511b13e2cf55')
|
||||||
version('9.2', sha256='38ef247d41ba7cc3f6f93a612a78bab9484de9accecbe3b0150a3c0391a3faf0')
|
version('9.2', sha256='38ef247d41ba7cc3f6f93a612a78bab9484de9accecbe3b0150a3c0391a3faf0')
|
||||||
|
@ -49,7 +50,8 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
|
||||||
|
|
||||||
# Resolves the undefined references to libintl_gettext while linking gdbserver
|
# Resolves the undefined references to libintl_gettext while linking gdbserver
|
||||||
# https://www.gnu.org/software/gettext/FAQ.html#integrating_undefined
|
# https://www.gnu.org/software/gettext/FAQ.html#integrating_undefined
|
||||||
patch('gdb-libintl.patch', level=0, when='@10.1:')
|
patch('gdb-libintl-10.patch', level=0, when='@10.1:11.0')
|
||||||
|
patch('gdb-libintl-11.patch', level=0, when='@11.1:')
|
||||||
|
|
||||||
# Silence warnings about imp being deprecated on new python versions
|
# Silence warnings about imp being deprecated on new python versions
|
||||||
# https://sourceware.org/pipermail/gdb-patches/2021-February/176622.html
|
# https://sourceware.org/pipermail/gdb-patches/2021-February/176622.html
|
||||||
|
|
Loading…
Reference in a new issue