bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/20807] New: gold assertion failure on aarch64 branch target in


From: roland at gnu dot org
Subject: [Bug gold/20807] New: gold assertion failure on aarch64 branch target in SHF_MERGE rodata section: internal error in set_merged_symbol_value, at ../../binutils-2.27/gold/object.h:1718
Date: Fri, 11 Nov 2016 22:41:04 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20807

            Bug ID: 20807
           Summary: gold assertion failure on aarch64 branch target in
                    SHF_MERGE rodata section: internal error in
                    set_merged_symbol_value, at
                    ../../binutils-2.27/gold/object.h:1718
           Product: binutils
           Version: 2.27
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: roland at gnu dot org
                CC: ian at airs dot com
  Target Milestone: ---

Simple test case below.

        $ head goldbug.s 
        .text
        .globl _start
        _start:
        bl cst16_sym

        .type cst16_sym,@object
        .section .rodata.cst16,"aM",@progbits,16
        cst16_sym: .zero 16
        .size cst16_sym,16
        $ aarch64-elf-as -o goldbug.o goldbug.s
        $ readelf -WSs goldbug.o
        There are 9 section headers, starting at offset 0x1a0:

        Section Headers:
          [Nr] Name              Type            Address          Off    Size  
ES Flg Lk Inf Al
          [ 0]                   NULL            0000000000000000 000000 000000
00      0   0  0
          [ 1] .text             PROGBITS        0000000000000000 000040 000004
00  AX  0   0  4
          [ 2] .rela.text        RELA            0000000000000000 000148 000018
18   I  7   1  8
          [ 3] .data             PROGBITS        0000000000000000 000044 000000
00  WA  0   0  1
          [ 4] .bss              NOBITS          0000000000000000 000044 000000
00  WA  0   0  1
          [ 5] .rodata.cst16     PROGBITS        0000000000000000 000044 000010
10  AM  0   0  1
          [ 6] .shstrtab         STRTAB          0000000000000000 000160 00003f
00      0   0  1
          [ 7] .symtab           SYMTAB          0000000000000000 000058 0000d8
18      8   8  8
          [ 8] .strtab           STRTAB          0000000000000000 000130 000018
00      0   0  1
        Key to Flags:
          W (write), A (alloc), X (execute), M (merge), S (strings)
          I (info), L (link order), G (group), T (TLS), E (exclude), x
(unknown)
          O (extra OS processing required) o (OS specific), p (processor
specific)

        Symbol table '.symtab' contains 9 entries:
           Num:    Value          Size Type    Bind   Vis      Ndx Name
             0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
             1: 0000000000000000     0 SECTION LOCAL  DEFAULT    1 
             2: 0000000000000000     0 SECTION LOCAL  DEFAULT    3 
             3: 0000000000000000     0 SECTION LOCAL  DEFAULT    4 
             4: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT    1 $x
             5: 0000000000000000    16 OBJECT  LOCAL  DEFAULT    5 cst16_sym
             6: 0000000000000000     0 SECTION LOCAL  DEFAULT    5 
             7: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT    5 $d
             8: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT    1 _start
        $ aarch64-elf-ld.gold -o goldbug goldbug.o
        aarch64-elf-ld.gold: internal error in set_merged_symbol_value, at
../../binutils-2.27/gold/object.h:1718
        [Exit 1]
        $

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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