This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jul 2018 11:34:55 +0000
- Subject: [Bug c++/86469] Dwarf Error: Offset (1678049557) greater than or equal to .debug_str size (5846).
- Auto-submitted: auto-generated
- References: <bug-86469-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86469
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
(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 information?
You may want to look at https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction
which talks about how to reduce a testcase. In particular getting the
number of input objects reduced by using -r at link time may help (if the
bug reproduces then...). If you manage to reduce to a single input source
you can use standard reduction tools like creduce or delta to reduce
(and obfuscate) the testcase.