On Fri, Jan 10, 2014 at 10:39 AM, Jakub Jelinek <ja...@redhat.com> wrote:
> On Fri, Jan 10, 2014 at 10:23:59AM +0100, Uros Bizjak wrote:
>> I was able to compile sanitizer with r206475 (after Jakub's fixes) and
>> run the testsuite. However, on 64bit target, I got some failures in
>> asan and several timeouts in tsan [1].
>
> Some of the tsan tests seems to FAIL randomly for quite a while (since they
> were added), didn't have time to look if it is just bugs in the test or
> some compiler issue or library issue.

Just FYI, strace -f stops with:

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2abe3dd77000
mmap(NULL, 438272, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x2abe3dd78000
arch_prctl(ARCH_SET_FS, 0x2abe3dde1ac0) = 0
mprotect(0x2abe3db43000, 32768, PROT_READ) = 0
mprotect(0x2abe3d840000, 4096, PROT_READ) = 0
mprotect(0x2abe3d638000, 4096, PROT_READ) = 0
mprotect(0x2abe3d420000, 4096, PROT_READ) = 0
mprotect(0x2abe3d20e000, 16384, PROT_READ) = 0
mprotect(0x2abe3cebd000, 4096, PROT_READ) = 0
mprotect(0x2abe3bd32000, 4096, PROT_READ) = 0
munmap(0x2abe3cc1b000, 131456)          = 0
set_tid_address(0x2abe3dde1b50)         = 13757
set_robust_list(0x2abe3dde1b60, 0x18)   = 0
futex(0x7fff2fe2f9bc, FUTEX_WAKE_PRIVATE, 1) = 0
mmap(0x7d0000000000, 1099511627776, PROT_NONE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) =
0x7d0000000000
mmap(0x7e0000000000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7e0000000000

>> The 32 bit target executes tsan tests without problems.
>>
>> [1] http://gcc.gnu.org/ml/gcc-testresults/2014-01/msg00689.html
>
> Obviously, tsan is only enabled for x86_64-linux 64-bit, so there are
> zero 32-bit tests ;)

Oh... no cookie here. :(

Uros.

Reply via email to