|
From: Roland M. <rol...@nr...> - 2013-04-23 21:53:59
|
Hi! ---- Does valgrind provide any replacements for glibc's |__malloc_initialize_hook()| ? It seems this call and it's |*hook*()| siblings are depreciated now (at least in SuSE >=12.3) ... ---- Bye, Roland ---------- Forwarded message ---------- From: Roland Mainz <rol...@nr...> Date: Tue, Apr 23, 2013 at 11:44 PM Subject: "__malloc_initialize_hook is deprecated"&&co. warnings while building ast-open.2013-04-22 ... To: ast...@re... Cc: Glenn Fowler <gs...@re...>, David Korn <dg...@re...> Hi! ---- While trying to trace-down the issues with the ast-open build I noticed the following depreciation warnings in the build log: -- snip -- /home/test001/work/ast_ksh_20130422/build_32bit_plain/src/lib/libast/vmalloc/malloc.c: In function 'vm_initialize_hook': /home/test001/work/ast_ksh_20130422/build_32bit_plain/src/lib/libast/vmalloc/malloc.c:820:2: warning: '__free_hook' is deprecated (declared at /usr/include/malloc.h:172) [-Wdeprecated-declarations] /home/test001/work/ast_ksh_20130422/build_32bit_plain/src/lib/libast/vmalloc/malloc.c:821:2: warning: '__malloc_hook' is deprecated (declared at /usr/include/malloc.h:175) [-Wdeprecated-declarations] /home/test001/work/ast_ksh_20130422/build_32bit_plain/src/lib/libast/vmalloc/malloc.c:822:2: warning: '__memalign_hook' is deprecated (declared at /usr/include/malloc.h:182) [-Wdeprecated-declarations] /home/test001/work/ast_ksh_20130422/build_32bit_plain/src/lib/libast/vmalloc/malloc.c:823:2: warning: '__realloc_hook' is deprecated (declared at /usr/include/malloc.h:178) [-Wdeprecated-declarations] /home/test001/work/ast_ksh_20130422/build_32bit_plain/src/lib/libast/vmalloc/malloc.c: At top level: /home/test001/work/ast_ksh_20130422/build_32bit_plain/src/lib/libast/vmalloc/malloc.c:826:1: warning: '__malloc_initialize_hook' is deprecated (declared at /usr/include/malloc.h:169) [-Wdeprecated-declarations] -- snip -- Erm... does anyone know which glibc facility replaced these calls ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) rol...@nr... \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- __ . . __ (o.\ \/ /.o) rol...@nr... \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) |