https://sourceware.org/bugzilla/show_bug.cgi?id=33536
Bug ID: 33536
Summary: FAIL: DWARF2 1 - regexp_diff match failure
Product: binutils
Version: 2.46 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: danglin at gcc dot gnu.org
Target Milestone: ---
Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
Build: hppa64-hp-hpux11.11
Created attachment 16420
--> https://sourceware.org/bugzilla/attachment.cgi?id=16420&action=edit
Don't use t and z length modifiers.
sed -e 's/^[ ]*.comm \([^,]*\),\(.*\)/\1 .comm \2/' <
/home/dave/gnu/binutil
s/src/gas/testsuite/gas/elf/dwarf2-1.s > tmpdir/asm.s
Executing on host: sh -c {sed -e 's/^[ ]*.comm \([^,]*\),\(.*\)/\1 .comm \2/'
< /home/dave/gnu/binutils/src/gas/testsuite/gas/elf/dwarf2-1.s > tmpdir/asm.s}
(timeout = 300)
spawn -ignore SIGHUP sh -c sed -e 's/^[ ]*.comm \([^,]*\),\(.*\)/\1 .comm \2/'
< /home/dave/gnu/binutils/src/gas/testsuite/gas/elf/dwarf2-1.s > tmpdir/asm.s
../as-new --compress-debug-sections -o tmpdir/dwarf2-1.o tmpdir/asm.s
Executing on host: sh -c {../as-new --compress-debug-sections -o
tmpdir/dwarf2
-1.o tmpdir/asm.s 2>&1} /dev/null dump.tmp (timeout = 300)
spawn [open ...]
/home/dave/gnu/binutils/objdir64/gas/testsuite/../../binutils/readelf -w
tmpdir
/dwarf2-1.o > tmpdir/dump.out
Executing on host: sh -c
{/home/dave/gnu/binutils/objdir64/gas/testsuite/../../b
inutils/readelf -w tmpdir/dwarf2-1.o > tmpdir/dump.out 2>dump.tmp} /dev/null
(timeout = 300)
spawn [open ...]
regexp_diff match failure
regexp "^ <c> DW_AT_stmt_list : (0x)?0$"
line " <tx> DW_AT_stmt_list : 0"
regexp_diff match failure
[...]
On investigation this is because the target is old and doesn't support
the printf t and z length modifiers.
There are several other fails caused by the same issue.
The attached patch fixes the issue but is somewhat ugly.
--
You are receiving this mail because:
You are on the CC list for the bug.