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 <roland.ma...@nrubsig.org>
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-develop...@research.att.com
Cc: Glenn Fowler <g...@research.att.com>, David Korn <d...@research.att.com>


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) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)


-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to