Current-Users archive

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

Re: build issue: _REENTRANT redefined



On 07.09.2019 01:08, Kamil Rytarowski wrote:
> I could backport LSan/LLVM for NetBSD-9 if there would be a request.
> However before that I would prefer to address the mentioned
> false-positive from the atexit(3) callback. I have originally
> rescheduled it for NetBSD-10.

I spent some time on LSan and I have managed to fix the mentioned
false-positive and fix few other problems.

There are still like 2-3 problems left.

There was also an issue.. reported in libc. I will investigate whether
it is a false positive or not.

=================================================================
==4698==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 2048 byte(s) in 1 object(s) allocated from:
    #0 0x4b7e4d in malloc
/public/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3
    #1 0x7f7ff633d9ad in strerror_l /usr/src/lib/libc/string/strerror.c:81

SUMMARY: AddressSanitizer: 2048 byte(s) leaked in 1 allocation(s).


I will try to squash it and push to upstream review. I can request to
pullup these changes as fixups for llvm 9.0.1 maybe.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index