[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: gdb: Build with a 32-bit MIG when targeting i586-pc-gnu.
From: |
guix-commits |
Subject: |
03/08: gnu: gdb: Build with a 32-bit MIG when targeting i586-pc-gnu. |
Date: |
Sat, 10 Oct 2020 17:00:29 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 02036cdda4d2600166322a12d3eb0ab2a5b18f4e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Oct 10 22:28:51 2020 +0200
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.
---
gnu/packages/gdb.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index 8301217..2eecfb5 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -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
- branch master updated (45cad97 -> 5b548a1), guix-commits, 2020/10/10
- 02/08: gnu: mig: Define 'mig/32-bit'., guix-commits, 2020/10/10
- 05/08: gnu: Add python-inform., guix-commits, 2020/10/10
- 01/08: svn-download, hg-download: Use 'report-invoke-error'., guix-commits, 2020/10/10
- 03/08: gnu: gdb: Build with a 32-bit MIG when targeting i586-pc-gnu.,
guix-commits <=
- 06/08: gnu: Add python-nestedtext., guix-commits, 2020/10/10
- 07/08: gnu: Add liburing., guix-commits, 2020/10/10
- 08/08: gnu: Add folly., guix-commits, 2020/10/10
- 04/08: gnu: beets: Skip failing tests., guix-commits, 2020/10/10