你好!試試這個(gè)DEMO工程也出現(xiàn)hole warning。發(fā)到您郵箱了。
出現(xiàn)hole警告后編譯結(jié)果正常。
This is the mail archive of the 個(gè)人信息保護(hù),已隱藏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??:?個(gè)人信息保護(hù),已隱藏
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
您好,這個(gè)警告是在生成反匯編文件時(shí)勾選了調(diào)試信息,然后生成的警告信息,正常不用勾選這個(gè)。
參考EVT這里的勾選如下圖