Question about building with clang and AddressSanitizer

Lubos Lunak l.lunak at
Thu Jun 6 04:48:24 PDT 2013

On Wednesday 05 of June 2013, julien2412 wrote:
> Here's what I tried:
> ./ CC='/usr/local/bin/clang -O1 -g -fsanitize=address
> -fno-omit-frame-pointer'  CXX='/usr/local/bin/clang++ -O1 -g
> -fsanitize=address -fno-omit-frame-pointer' --without-doxygen
> --enable-dbgutil^C
> julien at julienPC:~/compile-libreoffice/libo_clang$ which clang
> then just "make"
> and I got this:
> make: *** No rule to make target `/usr/bin/clang', needed by
> `/home/julien/compile-libreoffice/libo_clang/compilerplugins/obj/clang-time
>stamp'. Stop.
> I'm on pc Debian x86-64 with master sources updated today.
> I use clang git retrieved some days ago and installed it on
> /usr/local/bin/clang

 The clang compiler plugin needs clang path, and CLANGDIR is currently 
hardcoded in to /usr . Either fix that to detect it properly, or 
pass CLANGDIR to autogen too.

 Lubos Lunak
 l.lunak at

More information about the LibreOffice mailing list