bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/11128] New: Test for readelf is failing


From: dam at opencsw dot org
Subject: [Bug binutils/11128] New: Test for readelf is failing
Date: 4 Jan 2010 10:22:42 -0000

Version 
/home/dam/mgar/pkg/binutils/trunk/work/solaris8-sparc/build-isa-sparcv8/binutils-
2.20/binutils/readelf 2.20
FAIL: readelf -p: missing: .*test_string.*

This is the verbose output from
runtest -v --tool binutils --srcdir ./testsuite/


Running ./testsuite//binutils-all/readelf.exp ...
pid is 467 -467
output is GNU readelf (GNU Binutils) 2.20
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

Version 
/home/dam/mgar/pkg/binutils/trunk/work/solaris8-sparc/build-isa-sparcv8/binutils-
2.20/binutils/readelf 2.20
pid is 471 -471
output is 
pid is 474 475 -474 -475
output is ELF Header:
  Magic:   7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, big endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              REL (Relocatable file)
  Machine:                           Sparc
  Version:                           0x1
  Entry point address:               0x0
  Start of program headers:          0 (bytes into file)
  Start of section headers:          116 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           0 (bytes)
  Number of program headers:         0
  Size of section headers:           40 (bytes)
  Number of section headers:         8
  Section header string table index: 5

ELF size is 32
pid is 476 477 -476 -477
output is ELF Header:
  Magic:   7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, big endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              REL (Relocatable file)
  Machine:                           Sparc
  Version:                           0x1
  Entry point address:               0x0
  Start of program headers:          0 (bytes into file)
  Start of section headers:          116 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           0 (bytes)
  Number of program headers:         0
  Size of section headers:           40 (bytes)
  Number of section headers:         8
  Section header string table index: 5

pid is 478 479 -478 -479
output is There are 8 section headers, starting at offset 0x74:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .text             PROGBITS        00000000 000034 000008 00  AX  0   0  1
  [ 2] .rela.text        RELA            00000000 0002b4 00000c 0c      6   1  4
  [ 3] .data             PROGBITS        00000000 00003c 000004 00  WA  0   0  1
  [ 4] .bss              NOBITS          00000000 000040 000000 00  WA  0   0  1
  [ 5] .shstrtab         STRTAB          00000000 000040 000031 00      0   0  1
  [ 6] .symtab           SYMTAB          00000000 0001b4 0000a0 10      7   6  4
  [ 7] .strtab           STRTAB          00000000 000254 00005d 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

pid is 480 481 -480 -481
output is 
Symbol table '.symtab' contains 10 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 00000000     0 SECTION LOCAL  DEFAULT    1 
     2: 00000000     0 SECTION LOCAL  DEFAULT    3 
     3: 00000000     0 SECTION LOCAL  DEFAULT    4 
     4: 00000000     0 NOTYPE  LOCAL  DEFAULT    1 static_text_symbol
     5: 00000000     0 NOTYPE  LOCAL  DEFAULT    3 static_data_symbol
     6: 00000000     0 NOTYPE  GLOBAL DEFAULT    1 text_symbol
     7: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND external_symbol
     8: 00000000     0 NOTYPE  GLOBAL DEFAULT    3 data_symbol
     9: 00000004     4 OBJECT  GLOBAL DEFAULT  COM common_symbol

pid is 482 484 -482 -484
output is 
Relocation section '.rela.text' at offset 0x2b4 contains 1 entries:
 Offset     Info    Type            Sym.Value  Sym. Name + Addend
00000004  00000703 R_SPARC_32        00000000   external_symbol + 0

Unable to compile test file.
Unable to compile test file.
pid is 486 -486
output is 
pid is 492 494 -492 -494
close result is child killed: segmentation violation
output is 
FAIL: readelf -p: missing: .*test_string.*

-- 
           Summary: Test for readelf is failing
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: dam at opencsw dot org
                CC: bug-binutils at gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


http://sourceware.org/bugzilla/show_bug.cgi?id=11128

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]