[Bug general/31287] 0.190: test suite build fails with gcc 14.x

2024-01-31 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31287

Mark Wielaard  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 CC||mark at klomp dot org
 Status|UNCONFIRMED |RESOLVED

--- Comment #2 from Mark Wielaard  ---
commit ae580d48278b9924da7503886b37be34378e1b04
Author: Sergei Trofimovich 
Date:   Thu Dec 21 09:23:30 2023 +

tests: fix build against upcoming `gcc-14`
(`-Werror=calloc-transposed-args`)

`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It
detected minor infelicity in `calloc()` API usage in `elfutils`:

elfstrmerge.c: In function 'main':
elfstrmerge.c:450:32: error:
  'calloc' sizes specified with 'sizeof' in the earlier argument and
not in the later argument [-Werror=calloc-transposed-args]
  450 |   newscnbufs = calloc (sizeof (void *), newshnums);
  |^~~~
elfstrmerge.c:450:32: note: earlier argument should specify number of
elements, later size of each element

Signed-off-by: Sergei Trofimovich 

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug debuginfod/31103] periodically malloc_trim()

2024-01-31 Thread dichen at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31103

Di Chen  changed:

   What|Removed |Added

   Assignee|unassigned at sourceware dot org   |dichen at redhat dot com
 CC||dichen at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.