[Bug 229602] databases/mongodb34: add support for aarch64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 8 09:57:22 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229602

            Bug ID: 229602
           Summary: databases/mongodb34: add support for aarch64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: ronald-lists at klop.ws
                CC: eric at camachat.org
             Flags: maintainer-feedback?(eric at camachat.org)
                CC: eric at camachat.org

Created attachment 194949
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194949&action=edit
patch to the src of mongodb34

The attached patch makes it possible to compile mongodb34 for aarch64.
With this I can run net-mgmt/unifi5 on my RPI3.

The patch:
- adds some differences in spelling of defines: _F_ENV_H -> _F_ENV_H_,
_WCHAR_T_DECLARED (why did this work on amd64 without these?)
- adds mozjs-45 sources for aarch64/freebsd
  ProcessExecutableMemory is handled differently than on amd64. The aarch64 way
looks more in line with what upstream is doing. Amd64 still works.
- disable HAVE_CRC32_HARDWARE on aarch64. Don't know if it should work, but
this was the easiest way to make it work for now.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list