[issue20935] Support building Python with Clang sanitizer rules
Changes by Charles-François Natali cf.nat...@gmail.com: -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20935 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20935] Support building Python with Clang sanitizer rules
Ned Deily added the comment: (Cherry pick has a special meaning for the release process.) -- nosy: +ned.deily title: Cherry pick CFLAGS, add to flags for $(BUILDPYTHON) Makefile rule - Support building Python with Clang sanitizer rules ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20935 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20935] Support building Python with Clang sanitizer rules
Benjamin Peterson added the comment: Just use LDFLAGS. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20935 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20935] Support building Python with Clang sanitizer rules
Jeffrey Walton added the comment: On Sat, Mar 15, 2014 at 6:34 PM, Benjamin Peterson rep...@bugs.python.org wrote: Benjamin Peterson added the comment: Just use LDFLAGS. Yeah, I tried that and broke the sanitizer: https://groups.google.com/d/msg/address-sanitizer/cu2WoD1Bwx8/zUoY9GH7oHkJ. The other fallback is to stuff it into CC and CXX. But that breaks some autotool projects. (Python is OK, though). Jeff -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20935 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20935] Support building Python with Clang sanitizer rules
Benjamin Peterson added the comment: CFLAGS=-g3 -fsanitize=address LDFLAGS=-fsanitize=address ./configure --with-system-expat make -j4 works for me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20935 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20935] Support building Python with Clang sanitizer rules
Jeffrey Walton added the comment: On Sat, Mar 15, 2014 at 7:11 PM, Benjamin Peterson rep...@bugs.python.org wrote: Benjamin Peterson added the comment: CFLAGS=-g3 -fsanitize=address LDFLAGS=-fsanitize=address ./configure --with-system-expat make -j4 works for me. Oh,my bad. I thought you meant add the libraries like libclang_rt.asan_osx.a to the flags. Jeff -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20935 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com