[Bug 250939] math/gmp has wrong ABI for rv64imafdc arch
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 8 03:00:09 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250939
Bug ID: 250939
Summary: math/gmp has wrong ABI for rv64imafdc arch
Product: Ports & Packages
Version: Latest
Hardware: riscv
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ale at FreeBSD.org
Reporter: dclarke at blastwave.org
CC: riscv at FreeBSD.org
Flags: maintainer-feedback?(ale at FreeBSD.org)
Assignee: ale at FreeBSD.org
CC: riscv at FreeBSD.org
To build for RISC-V we need ABI="standard" for configure :
ijiraq#
ijiraq# uname -apKU
FreeBSD ijiraq 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r367349: Wed Nov 4
22:48:25 UTC 2020
root at FreeBSD-head-riscv64-build.jail.ci.FreeBSD.org:/usr/obj/usr/src/riscv.riscv64/sys/QEMU
riscv riscv64 1300125 1300125
ijiraq#
ijiraq#
ijiraq# diff -u Makefile.orig Makefile
--- Makefile.orig 2020-11-03 22:04:29.665018000 +0000
+++ Makefile 2020-11-08 02:14:11.729975000 +0000
@@ -41,6 +41,8 @@
.elif ${ARCH:S/64//} != ${ARCH}
.if ${ARCH:Mpowerpc64*}
CONFIGURE_ENV+= ABI="mode64"
+.elif ${ARCH:Mriscv*}
+CONFIGURE_ENV+= ABI="standard"
.else
CONFIGURE_ENV+= ABI="64"
.endif
ijiraq#
Seems to work.
Strangely make check does not work.
ijiraq#
ijiraq# make check
make: don't know how to make check. Stop
make: stopped in /usr/ports/math/gmp
ijiraq#
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list