Percona Sever - MySQL packages for aarch64 architecture servers

Hi,

I am trying to setup Percona server for mysql(5.7.25-28) on c6g instance types in aws. The OS is centos 7.9 and the architecture is aarch64.
I am unable to find any packages compatible with this architecture on official download page of percona - Percona Software downloads for databases

Need to know how can I go about installing these percona mysql packages on my arm based centos 7 servers in aws(instance family - c6g ).

1 Like

Hello @Deependra_Saraswat, as you discovered, Percona does not provide precompiled packages for ARM processors. You will need to download the source code and compile for your processor.

1 Like

@matthewb thanks for the prompt reply. Could you please also share the doc for compiling the source code. Will be really helpful.

1 Like

https://dev.mysql.com/doc/mysql-sourcebuild-excerpt/8.0/en/installing-source-distribution.html

1 Like

@matthewb getting below error while running make

[ 30%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/fts/fts0fts.cc.o
/root/percona-server-5.7.25-28/storage/innobase/fts/fts0fts.cc: In function ‘dberr_t fts_sync_index(fts_sync_t*, fts_index_cache_t*)’:
/root/percona-server-5.7.25-28/storage/innobase/fts/fts0fts.cc:4492:1: error: could not split insn
}
^
(insn 740 738 2264 (parallel [
(set (reg:DI 1 x1 [orig:150 D.112694 ] [150])
(plus:DI (mem/v:DI (reg/f:DI 0 x0 [369]) [-1 S8 A64])
(const_int 536870912 [0x20000000])))
(set (mem/v:DI (reg/f:DI 0 x0 [369]) [-1 S8 A64])
(unspec_volatile:DI [
(mem/v:DI (reg/f:DI 0 x0 [369]) [-1 S8 A64])
(const_int 536870912 [0x20000000])
(const_int 5 [0x5])
] UNSPECV_ATOMIC_OP))
(clobber (reg:CC 66 cc))
(clobber (reg:SI 2 x2))
]) /root/percona-server-5.7.25-28/storage/innobase/include/sync0rw.ic:309 1856 {atomic_add_fetchdi}
(expr_list:REG_DEAD (reg/f:DI 0 x0 [369])
(expr_list:REG_UNUSED (reg:CC 66 cc)
(expr_list:REG_UNUSED (reg:SI 2 x2)
(nil)))))
/root/percona-server-5.7.25-28/storage/innobase/fts/fts0fts.cc:4492:1: internal compiler error: in final_scan_insn, at final.c:2897
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugzilla.redhat.com/bugzilla for instructions.
Preprocessed source stored into /tmp/cczdjjJM.out file, please attach this to your bugreport.
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/fts/fts0fts.cc.o] Error 1
make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2
make: *** [all] Error 2

1 Like

@Deependra_Saraswat Unfortunately I can’t provide this kind of support here as I’m not a developer. You will need to file a bug report at https://jira.percona.com/ under ‘Percona Server MySQL’ project, or search the web for others attempting this. Perhaps this website can help: https://mysqlonarm.github.io/

1 Like