https://sourceware.org/bugzilla/show_bug.cgi?id=31882
Bug ID: 31882
Summary: libctf: fails test suite on 32-bit platforms due to
incorrect format specifiers
Product: binutils
Version: 2.41
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libctf
Assignee: unassigned at sourceware dot org
Reporter: awilfox at adelielinux dot org
Target Milestone: ---
Created attachment 15581
--> https://sourceware.org/bugzilla/attachment.cgi?id=15581&action=edit
Patch to fix libctf
Reproduces for me on:
* 32-bit PPC, musl (glibc untested)
* 32-bit x86, musl and glibc
* 32-bit ARMv7, musl (glibc untested)
with:
* binutils 2.41 (Adélie)
* binutils 2.42 (Gentoo)
* binutils git (vanilla)
Test output looks like:
ERROR: compilation of lookup program
/usr/src/packages/system/binutils/src/binutils-2.41/libctf/testsuite/libctf-lookup/struct-iteration.c
failed
ERROR: compilation of lookup program
/usr/src/packages/system/binutils/src/binutils-2.41/libctf/testsuite/libctf-lookup/unnamed-field-info.c
failed
Attached patch fixes the format specifiers to match the variables. Tests now
pass for me everywhere, including 64-bit Power9 and x86_64 as well.
--
You are receiving this mail because:
You are on the CC list for the bug.