This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc: Simplify static malloc interposition [BZ #20432]
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: Florian Weimer <fweimer at redhat dot com>, libc-alpha at sourceware dot org
- Cc:
- Date: Fri, 26 Aug 2016 17:14:45 -0300
- Subject: Re: [PATCH] malloc: Simplify static malloc interposition [BZ #20432]
- Authentication-results: sourceware.org; auth=none
- References: <20160816121633.8EFC1402F6890@oldenburg.str.redhat.com>
Florian Weimer <fweimer@redhat.com> writes:
> Existing interposed mallocs do not define the glibc-internal
> fork callbacks (and they should not), so statically interposed
> mallocs lead to link failures because the strong reference from
> fork pulls in glibc's malloc, resulting in multiple definitions
> of malloc-related symbols.
LGTM.
--
Tulio Magno