[Bug 1977958] [NEW] binutils: addr2line: getting error "DWARF error: section .debug_str is larger than its filesize" when building Android 8.1 on Ubuntu 20.04
Jasper Vicenti
1977958 at bugs.launchpad.net
Wed Jun 8 09:30:26 UTC 2022
Public bug reported:
Getting the error "DWARF error: section .debug_str is larger than its
filesize" when building an Android app. This is traced back to a
security fix introduced in version 2.34-6ubuntu1.3 of binutils.
Reverting to 2.34-6ubuntu1 resolves the issue temporarily, but the fix
is to allow for .debug_str sizes up to 10x larger than the file size
(because of compression).
It looks like this fix was made already for Ubuntu 22.04 (binutils
2.38), but has not been backported to 20.04.
More detail on the issue and fix is available here:
https://sourceware.org/bugzilla/show_bug.cgi?id=28834
** Affects: binutils (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1977958
Title:
binutils: addr2line: getting error "DWARF error: section .debug_str is
larger than its filesize" when building Android 8.1 on Ubuntu 20.04
Status in binutils package in Ubuntu:
New
Bug description:
Getting the error "DWARF error: section .debug_str is larger than its
filesize" when building an Android app. This is traced back to a
security fix introduced in version 2.34-6ubuntu1.3 of binutils.
Reverting to 2.34-6ubuntu1 resolves the issue temporarily, but the fix
is to allow for .debug_str sizes up to 10x larger than the file size
(because of compression).
It looks like this fix was made already for Ubuntu 22.04 (binutils
2.38), but has not been backported to 20.04.
More detail on the issue and fix is available here:
https://sourceware.org/bugzilla/show_bug.cgi?id=28834
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1977958/+subscriptions
More information about the foundations-bugs
mailing list