Bug 7644 - talloc_free() deprecated?
Summary: talloc_free() deprecated?
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: x86 Linux
: P3 major (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-24 14:25 UTC by David Ronis
Modified: 2010-08-24 14:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Ronis 2010-08-24 14:25:12 UTC
I build the git version of samba4 as part of the openchange project.  It build properly; however the latest versions of libtalloc seem to be missing symbols.  Basically, another build (mesa) complains about them not being present.  

nm libtalloc.so | grep talloc_free shows:

00001b51 T _talloc_free
0000154d t _talloc_free_internal
00004f52 T talloc_free_children


Notice the extra _ (is this a compiler flag issue?).
Comment 1 Simo Sorce 2010-08-24 14:47:34 UTC
talloc_free() has been turned into a macro that calls _talloc_free().

When this was done the library soname has been bumped to 2.0

You need to recompile the dependencies if you want to use the newer version of talloc (you can also build talloc with a compat option that creates a 1.0 so lib that has the talloc_free symbol).

Marking as INVALID as this is not actually a bug.