[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-08-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 Richard Biener changed: What|Removed |Added Status|WAITING |RESOLVED See Also|

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-19 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #16 from rguenther at suse dot de --- On Wed, 18 Jul 2018, jg at jguk dot org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 > > --- Comment #15 from Jonny Grant --- > Hi Richard > > I cannot reproduce DWARF errors

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-18 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #15 from Jonny Grant --- Hi Richard I cannot reproduce DWARF errors without undefined references (by removing the implementation of a function). It is taking me a long time to reduce and still keep the error Which has different

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-18 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #14 from Jonny Grant --- Hello Richard My archive of the original problem didn't show it. But when I tried to re-create I got the following. I'll try also make a small test case for this one while I have it.

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #13 from Richard Biener --- (In reply to Jonny Grant from comment #11) > Hi Richard > > I have a smaller test case which. It shows only part of the error. > "Dwarf Error: Invalid abstract instance DIE ref" > > Richard, would this

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-17 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #12 from Jonny Grant --- Created attachment 44404 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44404=edit Invalid DIE testcase

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-17 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #11 from Jonny Grant --- Hi Richard I have a smaller test case which. It shows only part of the error. "Dwarf Error: Invalid abstract instance DIE ref" Richard, would this be useful? g++-8 -std=c++11 -g -ggdb -pthread -O0

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-17 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #10 from Jonny Grant --- [copy from other ticket] (In reply to Richard Biener from comment #3) > (In reply to Jonny Grant from comment #0) > > It's pretty hard to work out which file this o file comes from. Could it > > include the

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-12 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 Matthias Klose changed: What|Removed |Added CC||doko at debian dot org --- Comment #9

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 Richard Biener changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #8

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-12 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #7 from Jonny Grant --- (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 --- > >

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-12 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #6 from rguenther at suse dot de --- 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 --- > Richard, > Ok I will have a look at that soon... >

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-12 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #5 from Jonny Grant --- 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?

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #4 from Richard Biener --- (In reply to Jonny Grant from comment #3) > Hello Richard > It's commercial source code that can't be disclosed. > Is there another way to create a test case which has the same issue? a lot > of debug

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-12 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #3 from Jonny Grant --- Hello Richard It's commercial source code that can't be disclosed. Is there another way to create a test case which has the same issue? a lot of debug information?

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).

2018-07-10 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469 --- Comment #1 from Jonny Grant --- Perhaps G++ can check those dwarf offsets are within bounds when writing out the object files itself when saving obj files? Could output a useful warning, when detected as an internal compiler error.