Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
Description
In order to build 10.2 and 10.3 on arm64, additional innodb files need to be built with -O0 when on 4.x gcc compiler, for example on centos7. The following patch includes the necessary fixes to the innobase CMakeLists.txt
index d291f6f..299efe3 100644
|
--- a/storage/innobase/CMakeLists.txt
|
+++ b/storage/innobase/CMakeLists.txt
|
@@ -175,7 +175,10 @@ IF(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
|
btr/btr0btr.cc
|
btr/btr0cur.cc
|
buf/buf0buf.cc
|
+ fts/fts0fts.cc
|
gis/gis0sea.cc
|
+ handler/handler0alter.cc
|
+ row/row0mysql.cc
|
COMPILE_FLAGS "-O0"
|
)
|
ENDIF()
|