https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469

--- Comment #7 from Jonny Grant <jg at jguk dot org> ---
(In reply to rguent...@suse.de from comment #6)
> On Thu, 12 Jul 2018, jg at jguk dot org wrote:
> 
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469
> > 
> > --- Comment #5 from Jonny Grant <jg at jguk dot org> ---
> > Richard,
> > Ok I will have a look at that soon...
> > 
> > Could I ask, do you know if GCC already has dwarf sanity checks when 
> > outputting
> >  .debug_str size to check offsets are not larger than the size?
> 
> It does have a lot of sanity checks but I don't remember any specific
> one for offsets into sections.

Would be good to add some sanity checks.. offsets into a buffer are always
risky...

> Note you are using a pre-release of GCC 8.1 so maybe make sure to update
> that.
> 
> What version of binutils are you using?

$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.30

yes, I'm using 8.0.1 from Ubuntu.. wish distros had latest releases of things
like GCC...

Reply via email to