This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
gas dwarf2 assert failure for misaligned sections?
- From: DJ Delorie <dj at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 25 Nov 2002 16:38:01 -0500
- Subject: 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.