This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
On Thu, Feb 28, 2013 at 10:10 AM, Paul Pluzhnikov
<ppluzhnikov@google.com> wrote:
> On Thu, Feb 28, 2013 at 9:28 AM, Ian Lance Taylor <iant@google.com> wrote:
>
>>> does call dl_iterate_phdr, which is just as deadly.
>>
>> Hmmm, I guess I can't remember why.
>
> Let me refresh your memory. You've seen this deadlock before:
>
> Thread 1 Thread 2
> dlopen malloc
> ... takes loader lock ... takes malloc lock
> malloc _Unwind_Backtrace
> ... needs malloc lock dl_iterate_phdr
> held by T2 ... needs loader lock held by T1
Oh yeah. Thanks.
Ian
- References:
- [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
- Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
- Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
- Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
- Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
- Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
- Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
- Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
- Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers
- Re: [google gcc-4_7, integration] Build more of libstdc++ with frame pointers