https://sourceware.org/bugzilla/show_bug.cgi?id=33581
Bug ID: 33581
Summary: Build on 0.194 fails on Debian bullseye with
glibc-2.31
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libdw
Assignee: unassigned at sourceware dot org
Reporter: rudi at heitbaum dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
Since
https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=06f0520f9a78b07c11c343181d552791dd630346;hp=6bb3ff44a4029562f45ddac354c670aa51ae7b87
Build fails on bullseye - n is only used inside the #ifdef
HAVE_OPENAT2_RESOLVE_IN_ROOT block, and that isn't set here (Debian Bullseye,
glibc 2.31)
checking for openat2 with RESOLVE_IN_ROOT support... no
/build.LibreELEC-RPi5.aarch64-13.0-devel/build/elfutils-0.194/libdwfl/link_map.c:
In function 'report_r_debug':
/build.LibreELEC-RPi5.aarch64-13.0-devel/build/elfutils-0.194/libdwfl/link_map.c:434:20:
error: variable 'n' set but not used [-Werror=unused-but-set-variable]
434 | const char *n = NULL;
| ^
cc1: all warnings being treated as errors
https://paste.libreelec.tv/eminent-magpie.log
--
You are receiving this mail because:
You are on the CC list for the bug.