pkgsrc-Users archive

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

Re: rustc panic



FWIW, the error happens here [1].

I tried a sample code that I translated the relevant logic from Rust
to C, but the problem did not happen. (guardsize is not 0)

[1] https://github.com/rust-lang/rust/blob/1.19.0/src/libstd/sys/unix/thread.rs#L329


On Thu, Jul 27, 2017 at 5:56 AM, Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
> On Tue, Jul 25, 2017 at 09:18:53AM +0000, Chavdar Ivanov wrote:
>> This is absolutely correct. I backed out pthread_attr.c to 1.16 and
>> pthread_int.h to 1.93 and now rustc works fine.
>>
>> It is
>> http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libpthread/pthread_attr.c?only_with_tag=MAIN
>> causing
>> the problem, three weeks ago by joerg@. I don't know if it is libpthread
>> problem or there is something missing in the rust local patching.
>
> I have no idea what rust is doing here or why it thinks it should be
> doing something. At this point I can only conclude that rust is broken
> and continue fixing real bugs.
>
> Joerg


Home | Main Index | Thread Index | Old Index