gnu: gdb: Build with a 32-bit MIG when targeting i586-pc-gnu.
Fixes a bug whereby GDB cross-compiled for i586-pc-gnu would be broken: (gdb) r Starting program: /gnu/store/… Handling event, msgid = 72: (ipc/mig) server type check failure * gnu/packages/gdb.scm (gdb-9.1)[native-inputs]: Use MIG/32-BIT instead of MIG.
This commit is contained in:
parent
6530f5367c
commit
02036cdda4
1 changed files with 7 additions and 1 deletions
|
|
@ -116,7 +116,13 @@
|
||||||
`(("texinfo" ,texinfo)
|
`(("texinfo" ,texinfo)
|
||||||
("dejagnu" ,dejagnu)
|
("dejagnu" ,dejagnu)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
,@(if (hurd-target?) `(("mig" ,mig)) '())))
|
,@(if (hurd-target?)
|
||||||
|
;; When cross-compiling from x86_64-linux, make sure to use a
|
||||||
|
;; 32-bit MiG because we assume target i586-pc-gnu.
|
||||||
|
`(("mig" ,(if (%current-target-system)
|
||||||
|
mig/32-bit
|
||||||
|
mig)))
|
||||||
|
'())))
|
||||||
(home-page "https://www.gnu.org/software/gdb/")
|
(home-page "https://www.gnu.org/software/gdb/")
|
||||||
(synopsis "The GNU debugger")
|
(synopsis "The GNU debugger")
|
||||||
(description
|
(description
|
||||||
|
|
|
||||||
Reference in a new issue