MySQL Forums
Forum List  »  NDB clusters

Re: MySQl Cluster compilation Fail on Ubuntu 16.04 (ARM)
Posted by: Mikael Ronström
Date: July 03, 2017 02:04PM

After reading your logs a bit more carefully I did discover the problem.
The problem is that you are using an ARM processor. We currently don't
support the ARM processor. It is however not much work to get it working
and I've had it on my TODO list for a long time.

The problem that you fail on is that there is no
implementation of the mb() function.

The mb() function implements a memory barrier.
The file mt-asm.h in storage/ndb/src/kernel/vm is the file
that defines the CPU specific things for memory barriers, futex support
and this is also used in DbdihMain.cpp where it fails.

So if you implement the things in mt-asm.h properly it will most likely
pass the compilation at least. It will work if you only compile ndbd and not
ndbmtd, there should be a blog about how to compile on Raspberry Pi by
Andrew Morgan that you can probably use to get it working on your
platform as well since Raspberry Pi is also an ARM processor.

Options: ReplyQuote




Sorry, only registered users may post in this forum.

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.