Hi,

Rainer wrote:
> While all looks well, I am now at a stumbling point. I tried to use
> the memory sanitizer. However, it's doc page
> 
> http://clang.llvm.org/docs/MemorySanitizer.html
> 
> says: "The MemorySanitizer run-time library should be linked to the
> final executable, so make sure to use clang (not ld) for the final
> link step."
> 
> I did not find any instructions to do this with autotools. So I went
> ahead and set LD=clang. This passed the configure and make step,
> HOWEVER, there are no binaries build for the modules, and so rsyslog
> cannot start.

If you just want to use clang's address sanitizer shouldn't it be enough to
add "-fsanitize=address" to CFLAGS, CXXFLAGS *and* LDFLAGS?


-Thomas


_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to