From owner-freebsd-ports-bugs@freebsd.org Tue May 8 21:07:29 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26201FCA336 for ; Tue, 8 May 2018 21:07:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AF51A6F0D0 for ; Tue, 8 May 2018 21:07:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6E7DCFCA335; Tue, 8 May 2018 21:07:28 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AB98FCA333 for ; Tue, 8 May 2018 21:07:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6A7B6F0AF for ; Tue, 8 May 2018 21:07:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3509D108E for ; Tue, 8 May 2018 21:07:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w48L7R0D028132 for ; Tue, 8 May 2018 21:07:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w48L7RQW028126 for ports-bugs@FreeBSD.org; Tue, 8 May 2018 21:07:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228082] GMP does not compile on some ARM64 hosts Date: Tue, 08 May 2018 21:07:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: curtis@ipv6.occnc.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ale@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2018 21:07:29 -0000 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.=