Details
Description
Attempt to build MariaDB server on MacOS could result in compilation errors like the following one:
In file included from server-10.6/storage/perfschema/cursor_by_account.cc:28:
|
In file included from server-10.6/include/my_global.h:287:
|
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/math.h:309:
|
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/type_traits:418:
|
server-10.5/version:1:1: error: expected unqualified-id
|
MYSQL_VERSION_MAJOR=10
|
^
|
server-10.5/build.dir/include/my_config.h:529:29: note: expanded from macro 'MYSQL_VERSION_MAJOR'
|
#define MYSQL_VERSION_MAJOR 10
|
Compilation errors observed when XCode 12.5 is used for building server.
Attachments
Issue Links
- relates to
-
MDEV-25716 Building failure in S3 engine on MacOS
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Dmitry Shulga [ JIRAUSER47315 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Dmitry Shulga [ JIRAUSER47315 ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Dmitry Shulga [ JIRAUSER47315 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.2.38 [ 25207 ] | |
Fix Version/s | 10.3.29 [ 25206 ] | |
Fix Version/s | 10.4.19 [ 25205 ] | |
Fix Version/s | 10.5.10 [ 25204 ] | |
Fix Version/s | 10.6.1 [ 24437 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 121458 ] | MariaDB v4 [ 159212 ] |
For this task there are two branches bb-10.2-
MDEV-25543and bb-10.6-MDEV-25543.Buildbot for the branch bb-10.2-
MDEV-25543is greenBuildbot for the branch bb-10.6-
MDEV-25543shows build failures on aarch64-fedora-32 caused by exhausting of virtual memory. Also some tests fail on aix by reason of out of memory.Note: During merge from 10.4 to 10.5 the follow-up patch should be applied
--- a/storage/perfschema/pfs_prepared_stmt.h
+++ b/storage/perfschema/pfs_prepared_stmt.h
@@ -29,8 +29,8 @@
*/
#include "pfs_stat.h"
-#include "include/mysql/psi/psi.h"
-#include "include/mysql/psi/mysql_ps.h"
+#include "mysql/psi/psi.h"
+#include "mysql/psi/mysql_ps.h"
#include "pfs_program.h"
#define PS_NAME_LENGTH NAME_LEN