binutils: addr2line: getting error "DWARF error: section .debug_str is larger than its filesize" when building Android 8.1 on Ubuntu 20.04
Bug #1977958 reported by
Jasper Vicenti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
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:/
To post a comment you must log in.
closing as won't fix for 20.04 LTS