This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Update readelf to know about the new ELF constants


>>>>> Andreas Jaeger writes:

AJ> But testing it on i386 showed the following problem:

AJ> make[3]: Entering directory `/x86-64/builds/sourceware-src/binutils/binutils'
AJ> /bin/sh ./libtool --mode=link gcc -W -Wall -g -O2  -o readelf  readelf.o version.o  ../libiberty/libiberty.a 
AJ> gcc -W -Wall -g -O2 -o readelf readelf.o version.o  ../libiberty/libiberty.a
AJ> readelf.o: In function `dump_relocations':
AJ> /cvs/binutils-ln/binutils/readelf.c:800: undefined reference to `elf_m32r_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:805: undefined reference to `elf_i386_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:809: undefined reference to `elf_m68k_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:813: undefined reference to `elf_i960_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:817: undefined reference to `elf_avr_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:824: undefined reference to `elf_sparc_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:828: undefined reference to `v850_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:832: undefined reference to `elf_d10v_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:836: undefined reference to `elf_d30v_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:840: undefined reference to `elf_sh_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:844: undefined reference to `elf_mn10300_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:848: undefined reference to `elf_mn10200_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:852: undefined reference to `elf_fr30_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:856: undefined reference to `elf_mcore_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:860: undefined reference to `elf_ppc_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:865: undefined reference to `elf_mips_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:869: undefined reference to `elf_alpha_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:873: undefined reference to `elf_arm_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:877: undefined reference to `elf_arc_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:881: undefined reference to `elf_hppa_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:885: undefined reference to `elf_pj_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:888: undefined reference to `elf_ia64_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:892: undefined reference to `elf_cris_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:896: undefined reference to `elf_i860_reloc_type'
AJ> /cvs/binutils-ln/binutils/readelf.c:900: undefined reference to `elf_x86_64_reloc_type'
AJ> collect2: ld returned 1 exit status
AJ> make[3]: *** [readelf] Error 1

AJ> This worked recently (with the last snapshot I tried).

I can't reproduce this (on another machine at home).  I'll investigate
tomorrow why it fails on that single machine at work :-(.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]