Re: [Evolution] [RFH] Using the memory error detector AddressSanitizer (ASan)



Am Freitag, den 01.05.2015, 21:37 +0200 schrieb Paul Menzel:
Dear coreboot folk,


with Debian Sid/unstable, self-built Evolution and Evolution Data Server
3.12.10 still crashes regularly. Instead of using Valgrind, which is too
slow, could you please tell me, how I can build Evolution with
`-fsanitize=address` [1]?

Doing `CFLAGS='-g -O2 -fsanitize=address' ./configure --disable-uoa` and
then running `make` fails with several errors of the kind below.

        .libs/libcamel_1_2_la-camel-stream-process.o: In function `camel_stream_process_connect':
        /evolution-data-server/camel/camel-stream-process.c:248: undefined reference to 
`__asan_option_detect_stack_use_after_return'
        /evolution-data-server/camel/camel-stream-process.c:266: undefined reference to `__asan_report_store4'
        /evolution-data-server/camel/camel-stream-process.c:251: undefined reference to `__asan_report_load4'
        /evolution-data-server/camel/camel-stream-process.c:251: undefined reference to `__asan_report_load4'
        /evolution-data-server/camel/camel-stream-process.c:254: undefined reference to `__asan_report_load4'
        /evolution-data-server/camel/camel-stream-process.c:260: undefined reference to `__asan_report_store4'
        /evolution-data-server/camel/camel-stream-process.c:248: undefined reference to 
`__asan_stack_malloc_1'


Thanks,

Paul


[1] https://code.google.com/p/address-sanitizer

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]