Questions tagged [binutils]

Programs used to assemble, link and manipulate binary and object files. They may be used in conjunction with a compiler and various libraries to build programs.

16 questions
22
votes
1 answer

bfd.h should have included libiberty/ansidecl.h in Ubuntu 14.04?

binutils package seems to be changed, as it includes directory of libiberty.h has moved to /usr/include/libiberty, thus there is possible a wrong include in bfd.h regarding ansidecl.h. Getting those compile errors when using binutils trace…
9
votes
0 answers

Can I set the gold linker as the default one?

Before Ubuntu 13.10 (saucy), the /usr/bin/ld symlink was pointing to ld.gold when the binutils-gold package was installed. Gold now comes with the binutils package itself, and it installs the /usr/bin/ld symlink pointing to ld.bfd. Is there some…
eudoxos
  • 939
4
votes
0 answers

Installing objdump on Ubuntu that recognizes mach-o binaries?

Anyone know how to install a version binutils on Ubuntu that has an objdump that can recognize a mach-o binary? Currently when I run, objdump -P load binary, I get objdump: /path/to/binary: File format not recognized I've tried installing the…
2
votes
1 answer

Problems making Afl-fuzzer using BinUtils on 14.04

Aim: I am trying to setup and run Afl Fuzzer (link), as part of following an online course. Info: I'm running Ubuntu 14.04 on dvd. In the video the teacher uses the BinUtils 2.25 package, and I chose to use the latest version 2.26. I don't have…
2
votes
1 answer

Unable to install gold linker

It seems I can't install gold linker for 13.10 anymore: $ sudo apt-get install binutils-gold Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'binutils' instead of…
2
votes
0 answers

How to install glibc 2.31 from source on Ubuntu 22.04

I am trying to compile glibc 2.31 on Ubuntu 22.04 LTS. I followed a this answer as a template, which was incredibly helpful. My issue is that there are undefined references when I run make: ... make[2]: Entering directory…
Arizen
  • 21
1
vote
0 answers

Checksum failed while bitbake

I am using ubuntu 12.04 to build gumstix-microwindows-image. However I am getting this error when I do bitbake gumstix-microwindows-image NOTE: Handling BitBake files: | (4957/4958) [99 %]ERROR: opening…
1
vote
2 answers

List of GNU binutils

How can I get such a list from command line, including the version of each utility? Are they by default in the same file by any chance?
bsky
  • 1,419
1
vote
1 answer

Install both i386 and amd64 versions of musl-tools/gcc/binutils

I need to install both 32 and 64 bit versions of musl-tools, but whenever I try to install one the other is automatically uninstalled. If I try both at the same time I get conflicts: $ sudo apt-get install -y musl-tools gcc gcc-7 cpp binutils…
Max
  • 111
  • 4
0
votes
0 answers

I get an error why I try to compile D-Link drivers with `make`

I am running Lubuntu 17.04 inside a VMWare virtual machine. I am trying to compile and install the driver for my D-Link DUB-1312 Gigabit Ethernet Adapter. However, I get the error in the code block below when I try to run make. After reading similar…
Magnus
  • 101
0
votes
0 answers

dpkg and insserv error when installing any package

When I try to install any package the following error occurs: insserv: There is a loop between service runlcactivator and dns-clean if started insserv: loop involving service dns-clean at depth 1 insserv: Starting runlcactivator depends on plymouth…
Amit
  • 61
0
votes
1 answer

Unable to downgrade Binutils package

The Problem I'm currently on 16.04 LTS. binutils package of this distro is of version 2.26. But I need 2.25 (binutils of 15.10). I'm using PyBDF 0.1.1 python packages which depends on binutils 2.25. Unfortunately that python package isn't getting…
frogatto
  • 924
0
votes
1 answer

PyBFD cannot find Binutils in 16.04

I've upgraded my distro from 15.10 to 16.04 LTS. In 15.10 everything was okay. I am using pybfd 0.1.1 with binutils 2.26 (In 16.04). The python package pybfd used to be okay with binutils of 15.10. But in 16.04 it throws the following…
frogatto
  • 924
0
votes
3 answers

How to get the list of binutils available in my system?

I want to know the list of binary tools available in my system.where are these binutils located?
Rengas
  • 1,321
0
votes
1 answer

collect2: fatal error: cannot find ‘ld’ compilation terminated

I accidently overwrote the ld file in /usr/bin. I then removed the file and reinstalled binutils. Now I get the error in the title when I try to compile a C++ file with g++. The ld file is present in the /usr/bin directory, although it looks like a…
prism
  • 3
  • 2
1
2