me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2020-10-10 22:28:51 +02:00
parent 6530f5367c
commit 02036cdda4
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 1 deletions

View File

@ -116,7 +116,13 @@
`(("texinfo" ,texinfo)
("dejagnu" ,dejagnu)
("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/")
(synopsis "The GNU debugger")
(description