[Bug 2039149] [NEW] readelf riscv unknown

Nico Verrijdt 2039149 at bugs.launchpad.net
Thu Oct 12 08:25:27 UTC 2023


Public bug reported:

1)
Description:	Ubuntu 22.04.3 LTS
Release:	22.04

2)
binutils:
  Installed: 2.38-4ubuntu2.3
  Candidate: 2.38-4ubuntu2.3
  Version table:
 *** 2.38-4ubuntu2.3 500
        500 http://be.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.38-3ubuntu1 500
        500 http://be.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

3)
I'm hand assembling an ELF file and the readelf utility in the binutils package doesn't recognize riscv which is the e_machine 243. LoongArch or 258 and x86 or 3 are recognized, for example. But not riscv.

4)
Readelf states that 243 is an unknown e_machine.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: binutils 2.38-4ubuntu2.3
ProcVersionSignature: Ubuntu 6.2.0-34.34~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-34-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Thu Oct 12 10:14:30 2023
InstallationDate: Installed on 2023-07-12 (91 days ago)
InstallationMedia: Xubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
SourcePackage: binutils
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: binutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/2039149

Title:
  readelf riscv unknown

Status in binutils package in Ubuntu:
  New

Bug description:
  1)
  Description:	Ubuntu 22.04.3 LTS
  Release:	22.04

  2)
  binutils:
    Installed: 2.38-4ubuntu2.3
    Candidate: 2.38-4ubuntu2.3
    Version table:
   *** 2.38-4ubuntu2.3 500
          500 http://be.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
          100 /var/lib/dpkg/status
       2.38-3ubuntu1 500
          500 http://be.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

  3)
  I'm hand assembling an ELF file and the readelf utility in the binutils package doesn't recognize riscv which is the e_machine 243. LoongArch or 258 and x86 or 3 are recognized, for example. But not riscv.

  4)
  Readelf states that 243 is an unknown e_machine.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: binutils 2.38-4ubuntu2.3
  ProcVersionSignature: Ubuntu 6.2.0-34.34~22.04.1-generic 6.2.16
  Uname: Linux 6.2.0-34-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: XFCE
  Date: Thu Oct 12 10:14:30 2023
  InstallationDate: Installed on 2023-07-12 (91 days ago)
  InstallationMedia: Xubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
  SourcePackage: binutils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/2039149/+subscriptions




More information about the foundations-bugs mailing list