New submission from Gregory P. Smith <g...@krypto.org>:

CPython needs to be regularly built and vetted for C undefined behavior.

CFLAGS=-fsanitize=undefined LDFLAGS=-fsanitize=undefined CC=clang LD=clang 
./configure

is all it takes to start with.

if you do this today, test_ctypes will knock your socks off with errors.  We 
should detect this type of build and intentionally skip its tests on ubsan, 
tracking that with another yet to be filed issue.

I'll look into having Google run one.

----------
assignee: gregory.p.smith
components: Build
keywords: buildbot
messages: 315542
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title: Add a Linux clang ubsan undefined behavior sanitizer buildbot
type: compile error
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33321>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to