NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/48324: ld.elf_so - tty.c memcpy overwrites tcb for tls variant 2
The following reply was made to PR lib/48324; it has been noted by GNATS.
From: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: lib/48324: ld.elf_so - tty.c memcpy overwrites tcb for tls variant
2
Date: Mon, 21 Oct 2013 13:16:10 +1100
Hi.
I changed the src/tests/lib/libc/tls/dso/Makefile, adding CFLAGS=-O0 to
disable optimization and built the tests using __thread int var4 = 1.
Then I ran the test and the process froze and had to be killed.
So I ran it again and used gdb on the process and I found that it was in the
same place as the debugging of calligrawords with the same values for
variables. So for testing where it stops its better to disable optimization
in the Makefile for the libraries used for the tls dlopen test.
Regards,
Nat.
Home |
Main Index |
Thread Index |
Old Index