Arch Linux ldc package can't use asan

Wild xwildn00bx at gmail.com
Tue Jan 9 20:50:46 UTC 2018


On Tuesday, 9 January 2018 at 20:43:05 UTC, Wild wrote:
> On Arch these files are stored in 
> "/usr/lib/clang/5.0.1/lib/linux/",
> and the archlinux package tool doesn't like symlinks that point
> outside of the package. So a patch would be my only choice.
>
> So my solution is:
> sed -i "s/libclang_rt/clang\/$_llvmversion\/lib\/linux\/&/g" 
> driver/linker-gcc.cpp
>
> Would be nice if a future version of ldc checked this 
> directory, or
> if it would be possible to send in a constant to gnumake with 
> this path.

The ldc-1:1.7.0-2 is now pushed and -fsanitize=address works,
the -fsanitize=fuzzer option should work when this issue has been
fixed: https://bugs.archlinux.org/task/56023


More information about the Digitalmars-d mailing list