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]
Other format: [Raw text]

gas dwarf2 assert failure for misaligned sections?


This seems to happen on any port that has DWARF2_LINE_MIN_INSN_LENGTH
defined to be greater than one (xstormy16 and arm, for example).  Has
anyone seen this before, or is this something new for me to debug?  I
have a hack that just tweaks the size_inc to avoid the problem, but I
assume there's an assert there for a reason...

        .text
foo:
        nop
        .byte   1

$ ./as-new -gdwarf2 dj.s 
dj.s: Assembler messages:
dj.s:4: Internal error!
Assertion failure in size_inc_line_addr at ../../src/gas/dwarf2dbg.c line 616.
Please report this bug.


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