This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

dwz.exp testsuite error on 32-bit targets [Re: [PATCH v2 2/5] fix recursively_compute_inclusions and add dwz test case]


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


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