readelf riscv unknown

Bug #2039149 reported by Nico Verrijdt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
binutils (Ubuntu)
New
Undecided
Unassigned

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)

Revision history for this message
Nico Verrijdt (nicoverrijdt) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.