Package Details: gdb-multiarch 11.1-1

Git Clone URL: (read-only, click to copy)
Package Base: gdb-multiarch
Description: The GNU Debugger for all gdb supported architectures (i386/arm/mips...)
Upstream URL:
Licenses: GPL3
Submitter: aviel
Maintainer: aviel
Last Packager: aviel
Votes: 17
Popularity: 0.053322
First Submitted: 2017-11-08 12:09
Last Updated: 2021-09-18 12:09

Latest Comments

1 2 Next › Last »

vmarangoni commented on 2021-09-20 03:48

I was getting this error:

┌─╼ arch [/tmp/gdb/gdb-multiarch]
└────╼ gdb-multiarch 
Exception caught while booting Guile.
Error in function "make_objcode_from_file":
bad header on object file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
gdb-multiarch: warning: Could not complete Guile gdb module initialization from:
Limited Guile support is available.
Suggest passing --data-directory=/path/to/gdb/data-directory.
GNU gdb (GDB) 11.1

After searching about it I've found this thread reporting the same problem with arm-none-eabi-gdb:

I've modified PKGBUILD as mentioned in that thread the problem was solved. You can find below the diff what fixes the issue:

┌─╼ arch [/tmp/gdb]
└────╼ diff gdb-multiarch/PKGBUILD gdb-multiarch-fix/PKGBUILD 
< depends=(xz ncurses expat python guile2.0 gdb-common=$pkgver)
> depends=(xz ncurses expat python guile gdb-common=$pkgver)
<     --with-guile=guile-2.0 \
>     --with-guile=guile-2.2 \

legalize_ranch commented on 2021-09-17 05:30

While this is no updated in AUR you can do it manually:

From fbd48b0325adf98086187363a2b9a971f1c16842 Mon Sep 17 00:00:00 2001
Subject: [PATCH] update to 11.1

 PKGBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 5e97937..69ec30a 100755
@@ -1,7 +1,7 @@
 # Maintainer: Aviel Warschawski <>

 pkgdesc='The GNU Debugger for all gdb supported architectures (i386/arm/mips...)'
 arch=(i686 x86_64)
@@ -9,8 +9,8 @@ url=''
 depends=(xz ncurses expat python guile2.0 gdb-common=$pkgver)
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <>


greedisgood commented on 2021-09-11 18:50

gdb crashed a lot for me, so I had to change the --with-python option from /usr/bin/python to /usr/bin/python2

fsmv commented on 2021-05-21 03:26

FYI all you have to do is edit the pkgver variable to 10.2, update the download path with 10.2, and replace the hash with SKIP. Then you can install 10.2.

ocean commented on 2021-05-19 15:18

Hi @aviel, any possibility you could update this package for us? Thanks!

rlf commented on 2021-05-10 21:19

Looks like this package has broken updates again. It has a hard coded dependency on gdb-common=10.1. Therefore, updating gdb is broken. Can we update the dependencies? I think it's unlikely that we need to pin on a minor version of gdb.

The error message is the following.

error: failed to prepare transaction (could not satisfy dependencies)
:: installing gdb-common (10.2-1) breaks dependency 'gdb-common=10.1' required by gdb-multiarch

question406 commented on 2021-03-05 16:20

hello, i have some problem using this package, here is the error after calling gdb-multiarch:

gdb-multiarch: error while loading shared libraries: cannot open shared object file: No such file or directory

i googled it and found that i may have not installed all libraires it needs, expecting help

nomaxx117 commented on 2020-11-02 01:41

Flagged the package out of date by mistake, did not notice that it had just been updated. My bad.

nomaxx117 commented on 2020-10-30 21:10

This package is broken now. It looks like GDB was just updated, so the dependency on gdb-common=9.2 is preventing installation.

0xFF1E071F commented on 2020-08-06 14:41

Hello i cannot install this package. I got this error:

yay -S gdb-multiarch
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  gdb-multiarch-9.2-1

  1 gdb-multiarch                            (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: PKGBUILD up to date, Skipping (1/1): gdb-multiarch
  1 gdb-multiarch                            (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: (1/1) Parsing SRCINFO: gdb-multiarch

:: PGP keys need importing:
 -> F40ADB902B24264AA42E50BF92EDB04BFF325CF3, required by: gdb-multiarch
==> Import? [Y/n] Y
:: Importing keys with gpg...
gpg: keyserver receive failed: General error
problem importing keys

Even though i changed keyserver i still get the same error? Also if i search through your key on , the server cannot find your key