你好!试试这个DEMO工程也出现hole warning。发到您邮箱了。
出现hole警告后编译结果正常。
This is the mail archive of the 个人信息保护,已隐藏mailing list for the GCC 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]
Binutils version for GCC 4.8
From: Sebastian Huber
To: gcc-help at gcc dot gnu dot org
Date: Fri, 09 Nov 2012 16:54:55 +0100
Subject: Binutils version for GCC 4.8
Hello,
do I need a specific Binutils version (I use version 2.22) for GCC 4.8 (trunk)?
I have problems with the debug information:
powerpc-rtems4.11-objdump --dwarf some.exe > /dev/null
powerpc-rtems4.11-objdump: Warning: There is a hole [0xf2dc7 - 0xf2def] in
.debug_loc section.
powerpc-rtems4.11-objdump: Warning: There is a hole [0xf53ea - 0xf5474] in
.debug_loc section.
powerpc-rtems4.11-objdump: Warning: There is an overlap [0x30 - 0x18] in
.debug_ranges section.
powerpc-rtems4.11-objdump: Warning: There is an overlap [0x160 - 0x148] in
.debug_ranges section.
powerpc-rtems4.11-objdump: Warning: There is an overlap [0x560 - 0x548] in
.debug_ranges section.
powerpc-rtems4.11-objdump: Warning: There is an overlap [0x8e8 - 0x8c0] in
.debug_ranges section.
[...]
powerpc-rtems4.11-objdump: Warning: There is an overlap [0x32a30 - 0x32a10] in
.debug_ranges section.
powerpc-rtems4.11-objdump: Warning: There is an overlap [0x32b28 - 0x32ae0] in
.debug_ranges section.
powerpc-rtems4.11-objdump: Warning: There is an overlap [0x32be0 - 0x32bc8] in
.debug_ranges section.
GDB 7.4.1 says that:
(gdb) s Single stepping until exit from function _Workspace_Handler_initialization, which has no line number information. 0x00000410 in bsp_work_area_initialize ()
Other debugger refuse to load the ELF file. Has someone a hint how I can check
that the debug information is ok?
-- Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : 个人信息保护,已隐藏
PGP : Public key available on request.
Diese Nachricht ist keine gesch?ftliche Mitteilung im Sinne des EHUG.
看到这编email,是不是问题出在编译器上。
https://gcc.gnu.org/cgi-bin/search.cgi?q=+Warning%3A+There+is+a+hole+%5B0xf2dc7+-+0xf2def%5D+in+.debug_loc+section.&cmd=Search&m=all&s=DRP
Dear TECH_JW 你好!
MRS Hole Warning! 排查情况怎么样了?贵司提供的工程排查也一样有hole warning
您好,这个警告是在生成反汇编文件时勾选了调试信息,然后生成的警告信息,正常不用勾选这个。
参考EVT这里的勾选如下图