Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2018 21:07:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228082] GMP does not compile on some ARM64 hosts
Message-ID:  <bug-228082-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228082

            Bug ID: 228082
           Summary: GMP does not compile on some ARM64 hosts
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: curtis@ipv6.occnc.com
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)

Created attachment 193189
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193189&action=
=3Dedit
patch for math/gmp port rooted at /usr/ports.

the math/gmp port does not compile on some arm64 hosts.  This includes
Raspberry Pi 3 and Orange Pi based on AllWinner H3 but is likely to include
many others.  Some assembly language code won't compile.

Since arm64 assembly code does work on some arm platform (presumably) its b=
est
to have the option to include that code if it works.  Others will have to n=
ot
use the assembly code until it gets fixed for more arm64 platforms.

The workaround/fix is to patch Makefile creating OPTION named AVOID_ASM.  If
AVOID_ASM option is set then CONFIGURE_ARGS+=3D --disable-assembly which si=
mply
avoids the problem at some cost in performance, which beats not compiling.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228082-7788>