[Bug 228082] GMP does not compile on some ARM64 hosts
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 8 21:07:29 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228082
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 at FreeBSD.org
Reporter: curtis at ipv6.occnc.com
Assignee: ale at FreeBSD.org
Flags: maintainer-feedback?(ale at FreeBSD.org)
Created attachment 193189
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193189&action=edit
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 best
to have the option to include that code if it works. Others will have to not
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+= --disable-assembly which simply
avoids the problem at some cost in performance, which beats not compiling.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list