On 23.10.2019 10:46, Kamil Rytarowski wrote:
> On 23.10.2019 06:33, Thomas Klausner wrote:
>> Hi!
>>
>> Yesterday evening's current with:
>>
>> build.sh -j 32 -x -V MKDEBUG=yes -V MKDEBUGLIB=yes -V MKLLVM=yes -T /usr/obj/tools.gcc -m amd64 -O /usr/obj/src.amd64 -D /usr/obj/amd64.gcc.20191022 -R /usr/obj/amd64.gcc.20191022.release distribution
>>
>
> I will have a look.
>
MKLLVM=yes builds now for me.
>> gives me:
>>
>>
>> --- msan_interceptors.o ---
>> In file included from /usr/src/sys/external/bsd/compiler_rt/dist/lib/msan/msan_interceptors.cc:18:
>> /usr/src/sys/external/bsd/compiler_rt/dist/lib/interception/interception.h:140:18: error: 'void __interceptor___libc_thr_keycreate(void*, void (*)(void*))'
>> alias between functions of incompatible types 'void(void*, void (*)(void*))' and 'int(__sanitizer::__sanitizer_pthread_key_t*, void (*)(void*))' {aka 'int
>> (unsigned int*, void (*)(void*))'} [-Werror=attribute-alias]
>> # define WRAP(x) __interceptor_ ## x
>> ^~~~~~~~~~~~~~
>> /usr/src/sys/external/bsd/compiler_rt/dist/lib/interception/interception.h:227:12: note: in expansion of macro 'WRAP'
>> ret_type WRAP(func)(__VA_ARGS__)
>> ^~~~
>> /usr/src/sys/external/bsd/compiler_rt/dist/lib/msan/msan_interceptors.cc:1060:1: note: in expansion of macro 'INTERCEPTOR'
>> INTERCEPTOR(void, __libc_thr_keycreate, void *m, void (*dtor)(void *value)) \
>> ^~~~~~~~~~~
>> /usr/src/sys/external/bsd/compiler_rt/dist/lib/interception/interception.h:140:18: note: aliased declaration here
>> # define WRAP(x) __interceptor_ ## x
>> ^~~~~~~~~~~~~~
>> /usr/src/sys/external/bsd/compiler_rt/dist/lib/interception/interception.h:227:12: note: in expansion of macro 'WRAP'
>> ret_type WRAP(func)(__VA_ARGS__)
>> ^~~~
>> /usr/src/sys/external/bsd/compiler_rt/dist/lib/msan/msan_interceptors.cc:1049:1: note: in expansion of macro 'INTERCEPTOR'
>> INTERCEPTOR(int, pthread_key_create, __sanitizer_pthread_key_t *key,
>> ^~~~~~~~~~~
>>
>> Thomas
>>
>
>
Attachment:
signature.asc
Description: OpenPGP digital signature