This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
dwz.exp testsuite error on 32-bit targets [Re: [PATCH v2 2/5] fix recursively_compute_inclusions and add dwz test case]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 8 Aug 2013 16:40:14 +0200
- Subject: dwz.exp testsuite error on 32-bit targets [Re: [PATCH v2 2/5] fix recursively_compute_inclusions and add dwz test case]
- References: <1375904695-27787-1-git-send-email-tromey at redhat dot com> <1375904695-27787-3-git-send-email-tromey at redhat dot com>
On Wed, 07 Aug 2013 21:44:52 +0200, Tom Tromey wrote:
> * gdb.dwarf2/dwz.exp: New file.
With 32-bit targets
+Running gdb/testsuite/gdb.dwarf2/dwz.exp ...
+gdb compile failed, /gdb/testsuite.unix.-m32/gdb.dwarf2/dwz.S: Assembler messages:
+/gdb/testsuite.unix.-m32/gdb.dwarf2/dwz.S:13: Error: cannot represent relocation type BFD_RELOC_64
+/gdb/testsuite.unix.-m32/gdb.dwarf2/dwz.S:14: Error: cannot represent relocation type BFD_RELOC_64
on lines:
.8byte main
.8byte main + 10
so either testcase should be skipped on 32-bit targets or rather I guess it
needs a fix in Dwarf::assemble.
Jan