[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012107: riscv64 arch readelf -h *.debug, readelf: Error: Unable to find program interpreter name

Package: elfutils
Version: 0.187-1
Severity: minor
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: atzlinux@sina.com, debian-riscv@lists.debian.org


 In riscv64 arch, readelf -h any *.debug file, will get one error at last line.

    For example:

    readelf -h /usr/lib/debug/.build-id/3b/7ede587dea6f4387552e0baad2596c7bec28dc.debug

ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           RISC-V
  Version:                           0x1
  Entry point address:               0xe78
  Start of program headers:          64 (bytes into file)
  Start of section headers:          11104 (bytes into file)
  Flags:                             0x5, RVC, double-float ABI
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         10
  Size of section headers:           64 (bytes)
  Number of section headers:         38
  Section header string table index: 37
readelf: Error: Unable to find program interpreter name

You may apt install bash-dbgsym to test it.

-- System Information:
Distributor ID:	Atzlinux
Description:	Tongwandou (atzlinux) 11
Release:	11.3
Codename:	bullseye
Architecture: riscv64

Kernel: Linux 5.18.0-starfive-5.18 (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages elfutils depends on:
ii  libasm1     0.187-1
ii  libc6       2.33-7
ii  libdw1      0.187-1
ii  libelf1     0.187-1
ii  libstdc++6  12.1.0-2

elfutils recommends no packages.

elfutils suggests no packages.

-- no debconf information

Reply to: