[New-bugs-announce] [issue33321] Add a Linux clang ubsan undefined behavior sanitizer buildbot

Gregory P. Smith report at bugs.python.org
Fri Apr 20 19:48:21 EDT 2018


New submission from Gregory P. Smith <greg at 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 <report at bugs.python.org>
<https://bugs.python.org/issue33321>
_______________________________________


More information about the New-bugs-announce mailing list