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
6
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://sourceware.org/bugzilla/show_bug.cgi?id=28834

Revision history for this message
Matthias Klose (doko) wrote :

closing as won't fix for 20.04 LTS

Changed in binutils (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.