The GNU binary utilities. A collection of tools for operating on object files. Most notably they include the GNU assembler and linker. They are typically used in conjunction with the GNU compiler collection (GCC).
Questions tagged [binutils]
418 questions
0
votes
1 answer
Error compiling gold in binutils
I am trying to compile the project KernelGen (http://hpcforge.org/plugins/mediawiki/wiki/kernelgen/index.php/Compiling) for some research project I am doing , the build script is using rpmbuild and it looks like it has a dependency on gold from…

Sameer Asal
- 133
- 1
- 7
0
votes
1 answer
Why binutils or gcc is installed in two locations?
I'm learning linux knowledges, when I compile binutils or gcc and install them, they always appear in two locations.
I think it must be a reason and I don't know why?
Actually I'm learning lfs. When I compile the pass I of binutils, the book's…

Yong
- 738
- 6
- 19
0
votes
1 answer
i386-pc-mingw32-objdump pe disassembling aborted
I am trying to disassemble Sid Meiers Railroads 1.1 original binary from 1C disc
file RailRoads.exe
>>PE32 executable (GUI) Intel 80386, for MS Windows
sudo crossdev i386-pc-mingw32
i386-pc-mingw32-objdump -D RailRoads.exe >…

puchu
- 3,294
- 6
- 38
- 62
0
votes
1 answer
Tool to work in the network layer
I have recently been using telnet a lot recently to test out many different types of tcp connections, (basic TCP, standard HTTP, Bayeux through HTTP, etc) as a means to learn how things work.
I want to learn a little bit more about how the next…

Kaushik Shankar
- 5,491
- 4
- 30
- 36
0
votes
0 answers
binutils: hex2asm
I get stack dump from android's logcat and it shows code around pc like that:
I/DEBUG ( 1006): code around pc:
I/DEBUG ( 1006): 825b11b8 e1cd66d8 e59de070 e046a007 e3caa00f
I/DEBUG ( 1006): 825b11c8 e1a0c007 e1a06000 e0808005 e0809085
I/DEBUG…

Pavel P
- 15,789
- 11
- 79
- 128
-1
votes
2 answers
Wii Broadway disassembly with libopcodes
I want to disassemble Wii game executable binaries in C, which use the broadway microprocessor and unfortunately the only disassembler I am aware that I can use is libopcodes.
Documentation about this library is scarce and I'm using this tutorial…

user19742600
- 3
- 2
-1
votes
2 answers
Compileing GNU binutils - some questions
I am trying to compile the GNU binutils for PowerPc on my x86-64 Pc. I'm not trying to cross compile them (got the cross compiler version from the AUR), I'm trying to compile the on my pc to use them on the other(It has no network etc just an…

user1237916231
- 3
- 2
-1
votes
1 answer
Linking error using community edition 2021 on Fedora 36
I have used Ada successfully for years; but I am trying to create "hello world," and I am getting the following error:
/opt/GNAT/2021/bin/../libexec/gcc/x86_64-pc-linux-gnu/10.3.1/ld:
.gnu.build.attributes has both…

Dick Gayler
- 1
- 1
-1
votes
1 answer
Why do I have an undefined reference error when linking for an object in the same archive?
I have a C++ source mycpp.cpp and a C source myc.c. The C source contains a function myCFunc(), which is called from the C++:
extern "C"
{
#include "my_c.h"
}
void aCppFunction()
{
myCFunc(stuff, and, things);
...
}
The two sources are…

Walkingbeard
- 590
- 5
- 15
-1
votes
1 answer
Why does the tool "readelf" outputs two ELF file section count numbers?
I am currently investigating an issue with our tool which reads and interprets ELF files, that has an problem reading a specific elf file.
The unix tool "readelf" with the option "-h" outputs 2 values for the parameter "Number of section headers".…

Ranga B.
- 627
- 10
- 20
-1
votes
2 answers
compilation of binutils-gdb can't find ncurses
I'm trying to compile the binutils for the i686-elf target according to this tutorial:
https://wiki.osdev.org/GCC_Cross-Compiler
I just added the --enable-tui option, so that I have the support in the gdb.
I did the following:
# get sources
git…

noexpandtab
- 1
- 4
-1
votes
1 answer
Are 32bit libraries not supported on Ubuntu 16.04?
I'm working on the development of a bare bones OS.
While installing gcc & binutils, getting an error:
32-bit libraries are missing
Some articles say that 32-bit libraries are not supported from 16.04 onwards.
If it is not supported, which is the…

Girish
- 31
- 4
-2
votes
1 answer
Kernel on x86_64 not boot after upgrading Binutils and GCC
I'm not able to see ANY logs on console (even not the "Decompressing Linux... " message).
I enabled any Early Boot prints under Kernel config, at least which I know (see below Kernel configuration)
Tried stopping the Kernel with KDB - by adding…

Dude
- 17
- 2