objdump internal error with retpoline-equipped binary
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ objdump -d
a.out: file format elf64-x86-64
objdump: BFD (GNU Binutils for Ubuntu) 2.26.1 internal error, aborting at ../../bfd/
objdump: Please report this bug.
Difficulty: a.out is using the retpoline mitigation <https:/
For the record, the executable was built with Clang and lld, from LLVM SVN r321862, plus the retpoline patch at <https:/
$ clang -mretpoline -c -O temp.c
$ ld.lld -z retpolineplt -dynamic-linker /lib64/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: binutils 2.26.1-
ProcVersionSign
Uname: Linux 4.4.0-109-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon Jan 15 05:03:48 2018
Dependencies:
gcc-6-base 6.0.1-0ubuntu1
libc6 2.23-0ubuntu9
libgcc1 1:6.0.1-0ubuntu1
zlib1g 1:1.2.8.
SourcePackage: binutils
UpgradeStatus: Upgraded to xenial on 2016-08-01 (532 days ago)
Accidentally uploaded the wrong a.out; my bad. Here's the right one.