[Bug tapsets/26249] New: [PATCH] uconversions format error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘void *’ [-Werror=format=]
craig.ringer at 2ndquadrant dot com
sourceware-bugzilla@sourceware.org
Thu Jul 16 10:23:48 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=26249
Bug ID: 26249
Summary: [PATCH] uconversions format error: format ‘%lx’
expects argument of type ‘long unsigned int’, but
argument 5 has type ‘void *’ [-Werror=format=]
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tapsets
Assignee: systemtap at sourceware dot org
Reporter: craig.ringer at 2ndquadrant dot com
Target Milestone: ---
Please apply the following fix:
sed -i 's/user string copy fault at 0x%lx/user string copy fault at 0x%p/g'
tapset/uconversions.stp
to prevent this error on gcc 10.1.1 (Fedora 32):
/tmp/stapZ1uHM9/stap_35d624015b7561890f7e266d60669c82_7434_src.c: In function
‘function___global_user_string_n_warn__overload_1’:
/tmp/stapZ1uHM9/stap_35d624015b7561890f7e266d60669c82_7434_src.c:1139:40:
error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument
5 has type ‘void *’ [-Werror=format=]
1139 | "user string copy fault 0x%ld at %lx [man error::fault]", rc,
| ~~^
| |
| long unsigned int
| %p
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list