Questions tagged [binutils]

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).

418 questions
0
votes
0 answers

Error: Section 7 has invalid sh_entsize 0

Compiling U-boot for ARM I am compiling U-boot for ARM target using GCC and the U-boot build successfully. The u-boot is configured for am335x_evm(sitara) target board as: export CROSS_COMPILE=arm-linux-gnueabi- make k2hk_evm_config make u-boot But…
geek
  • 47
  • 1
  • 9
0
votes
2 answers

Instruction address to symbol for Java

Let's say I have a particular instruction address for a Java program (for whatever reason) and I want to know which function it belongs to. If this was from a C++ program for example, I could use binutils (addr2line etc) to get this. Is this even…
hojusaram
  • 497
  • 1
  • 6
  • 13
0
votes
1 answer

Fatal mistake: Uninstalled sys-devel/binutils - emerge don't work anymore

I cleaned up my system 3 weeks ago and made a fatal mistake. Well, i don't really know why, but i uninstalled sys-devel/binutils. After i recognized the mistake i tried re-emerge, but it doesn't work. Next step was, downloading stage3 from Gentoo…
am1
  • 345
  • 1
  • 2
  • 13
0
votes
1 answer

GNU assembler, arm IT block error

I'm getting an error saying addeq should be in IT block. From what I can tell it is. Here is a cut of the code, at line 455 of https://github.com/Jcfunk/g3_kernel/blob/lp-release/arch/arm/crypto/aesbs-core.S_shipped ite eq @…
Jcfunk
  • 65
  • 6
0
votes
0 answers

libtool causes GCC:file not found

I want to cross-compile binutils (but many errors occurs during compilation). I get this error with libtool: C:/msys2/usr/bin/sh.exe ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils/./bfd -D__USE_MINGW_FSEEK -I.…
Intelligide
  • 279
  • 2
  • 14
0
votes
2 answers

Binutils build fails on Mac OS X 10.10.5 Yosemite

After downloading the package of GNU Binutils 2.25 I followed the instructions on "Installing Binutils": ./cnofigure make errors happened after build: ../../binutils-gdb/binutils/nm.c:1733:28: error: 'sbrk' is deprecated…
Omnik
  • 126
  • 1
  • 11
0
votes
1 answer

Stripping all but specified debug information from executable

I'm developing a shared library for Linux that spawns some threads I want to label in the debugger. I've read this can be done by writing to /proc/[PID]/tasks/[TID]/comm, but this isn't working (I'm targeting an older libc). I also want to be able…
Matt
  • 865
  • 2
  • 10
  • 16
0
votes
2 answers

ranlib missing compiling GNU bash on iOS

I'm trying to compile GNU bash 4.3.30 on (and for) my iPad 2, iOS 8.4 using Clang, ld64, cctools, GNU make and the iOS 8.1 SDK. When processing libintl, cctools' ar "can't find or exec: /usr/bin/ranlib", causing make to exit with error 1. $…
osvein
  • 625
  • 2
  • 10
  • 31
0
votes
2 answers

Building Gold linker in FreeBSD

I followed the steps on http://llvm.org/docs/GoldPlugin.html#lto-how-to-build to build the gold plugin on FreeBSD but ! Heres a link to the screenshot of the error:http://postimg.org/image/anlpuufbl/ This is the error message that it shows and so I…
0
votes
2 answers

Unable to build binutils for MIPS cross compiler on mac os X

I'm trying to build MIPS cross compiler on mac os X Yosemite. I referred to below site and followed step by step. http://www.theairportwiki.com/index.php/Building_a_cross_compile_of_GCC_for_MIPS_on_OS_X In the step on [configuring and building…
MPEC
  • 3
  • 4
0
votes
0 answers

error when building the arm-none-eabi toolchain

FOREWORD : My build system is based on Ubuntu 14.04 LTS server edition I have bumped into a common issue while cross-compiling binutils for the arm-none-eabi toolchain. After downloading the sources from…
user2457613
  • 61
  • 1
  • 6
0
votes
1 answer

Keeping type definitions and some symbols in an elf file

Starting from an elf file that contains all information needed to fully debug my application, I would like to make an elf that contains only some symbols. I managed to do this with GNU binutils strip tool : strip -F elf32-big -p -s -K myFunc1-K…
Akira
  • 1
0
votes
1 answer

sanity checking package for gcc

i'm building a cross compiler for my MinGW, targeting i386-pc-linux-gnu. well, i'm concerned with the binutils and gcc (binaries, includes, everything) that i've compiled, being mashed together with the current one. also, once i get the…
kozner
  • 141
  • 1
  • 5
0
votes
1 answer

Custom compile of binutils/ld doesn't find symbols in archives

I'm currently trying to compile Clang/LLVM for a bare metal aarch64 target. Compiling Clang was straightforward - in fact I have compiled to target multiple architectures including arm and aarch64. For the backend I'm using binutils. Since…
Andrew Parker
  • 1,425
  • 2
  • 20
  • 28
0
votes
1 answer

Cross Compiling Binutils on Ubuntu

I'm trying to cross compile BINUTILS to i386-elf and I'm getting the following error. At the end of the ouput... -c -o printcmd.o -MT printcmd.o -MMD -MP -MF .deps/printcmd.Tpo ../../binutils-2.24.51-4/gdb/printcmd.c gcc -g -O2 -I.…
bgarate
  • 116
  • 2
  • 9