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: [patch] Support unordered .debug_info references to .debug_ranges


Jan Kratochvil wrote:
> Hi,
> 
> readelf sometimes complains on valid DWARF already produced by g++-4.3+:
> 
> readelf: Error: Range lists in .debug_info section aren't in ascending order!
> readelf: Warning: Range lists in .debug_ranges section start at 0x60
> [...]
> 
> A Googled bugreport:
> 	http://gcc.gnu.org/ml/gcc/2009-01/msg00540.html

  Just FYI and FTR: a fix was posted at

http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00649.html

and see also

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40713

> Not sure if it would be worth the performance to have a no-copy optimization
> for already sorted references.

  I think quite likely, since hopefully GCC will stop emitting debug info like
this.

    cheers,
      DaveK


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