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

Re: [commit] [PATCH 3/6] DWARF-5 basic functionality


On Thu, 23 Feb 2017, Jan Kratochvil wrote:

> > The SAFE_BYTE_GET_AND_INC macro will trigger a runtime abort if this
> > code is compiled for a 32-bit host (where sizeof base_address == 4) and
> > run on DWARF5 information created for a 64-bit target (where 
> > pointer_size == 8).
> 
> So this is now fixed by checked-in:
> 	[patch] dwarf.c: Use more dwarf_vma
> 
> Checked in as: 77145576fadc4dd2879adf5242b610ebbe30ec30

 This has caused:

cc1: warnings being treated as errors
.../binutils/dwarf.c: In function 'display_debug_rnglists_list':
.../binutils/dwarf.c:5876: error: 'begin' may be used uninitialized in this function
.../binutils/dwarf.c:5876: error: 'end' may be used uninitialized in this function
.../binutils/dwarf.c: In function 'display_loclists_list':
.../binutils/dwarf.c:5014: error: 'begin' may be used uninitialized in this function
.../binutils/dwarf.c:5015: error: 'end' may be used uninitialized in this function
make[4]: *** [dwarf.o] Error 1

(with GCC 4.4.7 and "-g -O -fno-inline"); line numbers as per current 
master.

  Maciej


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