liqingqing
961d12d947
malloc debug: fix compile error when enable macro MALLOC_DEBUG > 1
...
malloc debug: fix compile error when enable macro MALLOC_DEBUG > 1.
this is because commit e9c4fe93b3855239752819303ca377dff0ed0553 has change the struct malloc_chunk's member "size" to "mchunk_size".
the reproduction is like that:
setp1: modify related Makefile.
vim ../glibc/malloc/Makefile
CPPFLAGS-malloc.o += -DMALLOC_DEBUG=2
step2: ../configure --prefix=/usr
make -j32
this will cause the compile error:
/home/liqingqing/glibc_upstream/buildglibc/malloc/malloc.o
In file included from malloc.c:1899:0:
arena.c: In function 'dump_heap':
arena.c:422:58: error: 'struct malloc_chunk' has no member named 'size'
fprintf (stderr, "chunk %p size %10lx", p, (long) p->size);
^~
arena.c:428:17: error: 'struct malloc_chunk' has no member named 'size'
else if (p->size == (0 | PREV_INUSE))
Reviewed-by: DJ Delorie <dj@redhat.com>
2020-10-30 14:49:08 -04:00
..
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-10-30 14:49:08 -04:00
2019-07-02 16:51:13 +02:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-10-08 10:09:30 +02:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-10-06 05:15:11 -07:00
2020-08-31 14:22:06 -03:00
2014-01-02 09:40:10 +01:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:21:22 +00:00
2020-01-01 00:21:22 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:21:22 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-07-13 19:36:35 +02:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-03 11:22:07 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-09-17 18:49:30 -04:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2018-02-10 16:24:17 -05:00
2020-08-31 14:22:06 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2016-12-31 23:49:24 +05:30
2016-12-31 23:49:24 +05:30
2016-12-31 23:49:24 +05:30
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-02-27 13:43:57 -03:00
2019-06-10 22:12:08 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-08-31 14:22:06 -03:00
2014-11-05 15:24:08 +05:30
2020-01-01 00:14:33 +00:00
2020-01-17 15:05:34 +01:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-04-03 07:20:56 -04:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-10-30 14:47:29 -04:00
2020-01-01 00:14:33 +00:00
2007-12-16 22:57:57 +00:00
2020-01-01 00:14:33 +00:00
2020-09-17 18:49:30 -04:00