NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/50087 CVS commit: src/lib/libc/stdlib



On Aug 9,  4:45pm, joerg%britannica.bec.de@localhost (Joerg Sonnenberger) wrote:
-- Subject: Re: PR/50087 CVS commit: src/lib/libc/stdlib

|  This is the wrong approach, IMO. libpthread should not use malloc until
|  it knows that libc is fully initialized, not the other way around.

This is a problem with libc using malloc the wrong time, not libpthread
(due to constructor order). The problem seems to be triggered by the
arm arm_initfini.c. I could reproduce this even on x86_64 by adding that
file to the libc build.

christos


Home | Main Index | Thread Index | Old Index