It seems the issue is caused by libtool.
clang refers to libclang_rt.asan_osx_dynamic.dylib automatically if
-fsanitize=address flag has been passed. However, libtool-2.4.6 drops
the flag[1][2].
The last commit of libtool adds support for the flag[3]. I modified
libtool.sh in my TS build tree, an
Thank you all.
I tried Bryan's command line, but I'm still not able to build with
-no-undefined flag. -static-libasan flag doesn't work too.
I'm going to dig a little deeper. It might be needed on TS-3939.
Masakazu
On Wed, Jan 13, 2016 at 5:57 AM, Bryan Call wrote:
> Free lists are runtime
Free lists are runtime configurable with master and compile time with 6.0.0 and
earlier releases.
-Bryan
> On Jan 12, 2016, at 10:58 AM, Brian Geffon wrote:
>
> Make sure to disable freelists too otherwise you'll miss out a number of
> potential issues. Also, I've always disabled lua_jit w/
Make sure to disable freelists too otherwise you'll miss out a number of
potential issues. Also, I've always disabled lua_jit w/ ASAN.
Brian
On Wed, Jan 13, 2016 at 2:21 AM, Bryan Call wrote:
> This is how I configure my bulids:
>
> With ASAN:
> [bcall@homer ~]$ type tsconfig_asan
> tsconfig_as
This is how I configure my bulids:
With ASAN:
[bcall@homer ~]$ type tsconfig_asan
tsconfig_asan is aliased to `CXXFLAGS="-Werror -fno-omit-frame-pointer
-fsanitize=address" CFLAGS="-Werror" ./configure --enable-ccache
--enable-experimental-plugins --enable-example-plugins’
Without ASAN:
[bcall@
Hi,
I have not built with asan with clang on the mac. I have built for RHEL 6 and
7. I had to configure with these options.
CXXFLAGS -fno-omit-frame-pointer -fsanitize=address -static-libasan\
CFLAGS="-fno-omit-frame-pointer -fsanitize=address
-static-libasan"\--disable-freelist\LUA_LDFLAGS="-fno