Re: [PATCH 6/6] tests: mark python libmount tests known to fail with AddressSanitizer

Mike Frysinger
2014-11-11T02:12:51Z

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

On 10 Nov 2014 21:49, Sami Kerola wrote:
> The tests fail with an error similar to this.
>
> Traceback (most recent call last):
> File "/home/src/util-linux/libmount/python/test_mount_tab_update.py", line 7, in <module>
> import pylibmount as mnt
> ImportError: /home/src/util-linux/.libs/libuuid.so.1: undefined symbol: __asan_option_detect_stack_use_after_return

if libuuid.so is built with ASAN, it should be linked with it too. that means
passing the ASAN flags at link time. or maybe libtool is filtering them out
when it goes to link the library ?
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]