Bug #89961 add support for clang ubsan

Submitted: 8 Mar 2018 12:11 Modified: 14 Mar 2018 12:29
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.6 OS:Any
Assigned to: CPU Architecture:Any

[8 Mar 2018 12:11] Tor Didriksen
Description:
Clang needs slightly different settings for enabling SUPPRESS_UBSAN, and more stack space than GCC.
We also need to remove -fsanitize=undefined when building protoc, otherwise it dumps core.

How to repeat:
./mtr --mem --sanitize main.1st

Suggested fix:
Fix enough runtime warnings to make main.1st pass.
[13 Mar 2018 3:52] Laurynas Biveinis
protoc crashing with clang -fsanitize=undefined has been reported as bug 87201
[14 Mar 2018 12:29] Paul DuBois
Posted by developer:
 
Fixed in 8.0.12.

Code cleanup/work was done for test suite. No changelog entry needed.
[28 Feb 2019 0:20] Manuel Ung
The segfault is from this protobuf issue:
https://github.com/protocolbuffers/protobuf/issues/1450

The fix can be found here: https://github.com/protocolbuffers/protobuf/commit/cf14183bcd5485b4a71541599ddce0b35eb7135...

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.