MEGAsync icon indicating copy to clipboard operation
MEGAsync copied to clipboard

Error build for aarch64

Open Vascom opened this issue 6 years ago • 1 comments

I am try to build megasync for Fedora. It is excellent built for x86_64, i686 and armv7hl arches. But aarch64 failed. First error:

BUILDSTDERR: google_breakpad/common/memory.h: In member function 'uint8_t* google_breakpad::PageAllocator::GetNPages(unsigned int)':
BUILDSTDERR: google_breakpad/common/memory.h:117:15: error: 'sys_mmap2' was not declared in this scope
BUILDSTDERR:   117 |     void *a = sys_mmap2(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE,
BUILDSTDERR:       |               ^~~~~~~~~
BUILDSTDERR: google_breakpad/common/memory.h: In member function 'void google_breakpad::PageAllocator::FreeAll()':
BUILDSTDERR: google_breakpad/common/memory.h:136:7: error: 'sys_munmap' was not declared in this scope; did you mean 'munmap'?
BUILDSTDERR:   136 |       sys_munmap(cur, cur->num_pages * page_size_);
BUILDSTDERR:       |       ^~~~~~~~~~

Full build log http://koji.rpmfusion.org/kojifiles/work/tasks/1919/321919/build.log

Please correct it so we can use megasync on ARM 64-bit arch.

Vascom avatar May 07 '19 12:05 Vascom

@Vascom Does the same error message still exist?

archisman-panigrahi avatar Jul 04 '24 23:07 archisman-panigrahi

Hi, We bring latest news.

Since 5.12.0 version we have added arm64 support for some distros so you can check the repository and install the specific one: https://mega.nz/linux/repo/

Apart from that, breakpad dependency has been removed and loaded from our vcpkg system, so these issues are not reproducible anymore.

Regards.

vtmateos avatar Jun 04 '25 08:06 vtmateos

@vtmateos Could you please also add aarch64 for Arch here: https://mega.nz/linux/repo/Arch_Extra/ ? thanks!

mkurz avatar Jun 04 '25 09:06 mkurz

Hi, We will consider your suggestion for future updates, but for the moment it is not on the short term roadmap. Stay tuned for future updates and thanks for your suggestion! Regards.

vtmateos avatar Jun 06 '25 07:06 vtmateos