[Bug debug/82718] New: Bad DWARF5 .debug_loclists generation
mark at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 25 14:49:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82718
Bug ID: 82718
Summary: Bad DWARF5 .debug_loclists generation
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: mark at gcc dot gnu.org
Target Milestone: ---
Created attachment 42470
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42470&action=edit
reduced code example from elfutils libelf/elf_begin.c
Given the attached e.c building wth -O2 -gdwarf-5 produces a .debug_loclists
that the assembler cannot process:
$ gcc --verbose-asm -dA --save-temps -g -O2 -gdwarf-5 -c e.c
e.s: Assembler messages:
e.s:1079: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1080: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1103: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1104: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1124: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1125: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1144: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1145: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1163: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1164: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1182: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1183: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1206: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1207: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1230: Error: invalid operands (.text.unlikely and .text sections) for `-'
e.s:1231: Error: invalid operands (.text.unlikely and .text sections) for `-'
More information about the Gcc-bugs
mailing list