https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doko at gcc dot gnu.org --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jonny Grant from comment #7) > (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... It's not so easy given the assembler is involved here, too. > > 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 good > yes, I'm using 8.0.1 from Ubuntu.. wish distros had latest releases of > things like GCC... I'm pretty sure Ubuntu has packages for GCC 8.1[.1]