On Thursday, December 6, 2018 at 6:04:34 AM UTC-5, Themos Tsikas wrote:
> Hello,
>
> You probably need to install the development library, is it in package "libasan-static"?
>
> Themos
>
That works, if followed by "yum clean all" to get the program to link. But any attempt to execute the a.out file results is a message from the address sanitizer:
Shadow memory range interleaves with an existing memory mapping. ASan
cannot proceed correctly. ABORTING.
which is apparently a Linux kernel bug not fixed until version 4.12.8-2. SL7 is still at 3.10.0-862. See
https://github.com/google/sanitizers/issues/856
for details. There is a workaround posted there:
setarch x86_64 -R ./a.out
but after modifying a.out with that any attempt to execute gave the message:
Error loading HSL dynamic library libhsl.so: libhsl.so: cannot open
shared object file: No such file or directory
which is a bit surprising, since I haven't had any trouble loading it before on the unmodified a.out.
It is a bit frustrating that important tools are so far ahead of the packages. I wonder if there are philosophical differences among developers that keep the packages so out of date, or just inertia?
Daniel Feenberg
NBER