[ 
https://issues.apache.org/jira/browse/TS-4119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333062#comment-15333062
 ] 

James Peach commented on TS-4119:
---------------------------------

[~zwoop] Does this work:

{code}
jpeach$ git diff
diff --git a/configure.ac b/configure.ac
index 7381e80..4fd67bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1904,6 +1904,7 @@ AC_SUBST(LUA_LDFLAGS)
 TS_REMOVEFROM(LUA_CFLAGS, "-fprofile-instr-generate")
 TS_REMOVEFROM(LUA_CFLAGS, "-fcoverage-mapping")
 TS_REMOVEFROM(LUA_CFLAGS, "--coverage")
+TS_REMOVEFROM(LUA_CFLAGS, "-fsanitize=address")

 AC_SUBST([CC])
 AC_SUBST([CFLAGS])
{code}

> LuaJIT and ASAN do not work well together
> -----------------------------------------
>
>                 Key: TS-4119
>                 URL: https://issues.apache.org/jira/browse/TS-4119
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Lua
>            Reporter: Leif Hedstrom
>             Fix For: 7.0.0
>
>
> This is a long outstanding issue, where LuaJIT and ASAN is not cooperating 
> well. I see two options to this:
> 1) We fix LuaJIT.
> 2) We continue to make LuaJIT optional, with an option to compile with 
> regular Lua libraries.
> #2 is probably the easiest, at the price of worse performance. The downside 
> being that we don't test LuaJIT under ASAN.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to