This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: tree-ssa -fmudflap problems
- From: Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 1 Apr 2003 14:18:30 +0200 (MDT)
- Subject: Re: tree-ssa -fmudflap problems
- References: <20030401020712.GB24677@redhat.com>
> From: "Frank Ch. Eigler" <fche at redhat dot com>
> There are two separate issues.
...
> The second issue is that there is an
> odd litle infinite recursion during the shared library startup
> of libmudflap when -lpthreads is linked in. (dlsym requires
> calloc; calloc requires dlsym.)
Just for clarification: you're referring to calloc within "libmudflap"
here, not the system calloc. Interactions between a user-defined
malloc and pthreads are difficult to get completely correct, please
see e.g. the pthread_atfork handlers in the glibc sources.
Regards,
Wolfram.