pkgsrc-Users archive

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

Re: rustc panic



On Fri, Jul 28, 2017 at 09:02:43AM +0200, Martin Husemann wrote:
> Joerg: should pthread__init() protect itself against duplicate calls?

It should be harmless modulo wasting maybe a bit of memory. Fixing it is
tricky, due to the interaction of different requirements, similar for
the libc init sequence.

> Guess I'll need to test with a debug ld.elf_so to see if that runs ctors
> twice.

It doesn't, it gets called explicitly via libc's setup.

Joerg


Home | Main Index | Thread Index | Old Index