[MDEV-31727] pcre stack frame size check failed on clang 16.0.6 Created: 2023-07-18 Updated: 2023-07-31 Resolved: 2023-07-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.4.30 |
| Fix Version/s: | 10.4.31, 10.5.22, 10.6.15, 10.9.8, 10.10.6, 10.11.5, 11.0.3, 11.1.2, 11.2.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Z. Liu | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
as reported in https://bugs.gentoo.org/910188 |
| Comments |
| Comment by Daniel Black [ 2023-07-18 ] | ||||||||||||||||||
|
Thanks for the bug report. Changed bundled pcre to use noopt instead of noinline. https://github.com/MariaDB/server/pull/2700/files Also tried without success
| ||||||||||||||||||
| Comment by Daniel Black [ 2023-07-21 ] | ||||||||||||||||||
|
Thanks for the bug report. Sorry that its a pcre one to fix and might just end up being a distro carried patch. Thanks for letting us know so at least we can fall back to a bundled fixed version. | ||||||||||||||||||
| Comment by Daniel Black [ 2023-07-27 ] | ||||||||||||||||||
|
liuzx did you have mtr troubles on tests: Failing test(s): main.execution_constants main.sp_notembedded main.sp-error ? There might be other aspects of stack length calculation that need to be fixed for clang | ||||||||||||||||||
| Comment by Z. Liu [ 2023-07-31 ] | ||||||||||||||||||
|
I did a test and no error or warning found.
============================================================================== TEST RESULT TIME (ms) or COMMENT worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019 Completed: All 1 tests were successful. | ||||||||||||||||||
| Comment by Daniel Black [ 2023-07-31 ] | ||||||||||||||||||
|
thanks for confirming. Obviously you're welcome to take my updated pcre patch to Gentoo in any form you choose. |