This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tree-ssa -fmudflap problems


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]