Date: Sun, 08 Nov 2020 03:00:07 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250939] math/gmp has wrong ABI for rv64imafdc arch Message-ID: <bug-250939-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250939 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@FreeBSD.org Reporter: dclarke@blastwave.org CC: riscv@FreeBSD.org Flags: maintainer-feedback?(ale@FreeBSD.org) Assignee: ale@FreeBSD.org CC: riscv@FreeBSD.org To build for RISC-V we need ABI=3D"standard" for configure :=20 ijiraq#=20 ijiraq# uname -apKU FreeBSD ijiraq 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r367349: Wed Nov 4 22:48:25 UTC 2020=20=20=20=20 root@FreeBSD-head-riscv64-build.jail.ci.FreeBSD.org:/usr/obj/usr/src/riscv.= riscv64/sys/QEMU riscv riscv64 1300125 1300125 ijiraq#=20 ijiraq#=20 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//} !=3D ${ARCH} .if ${ARCH:Mpowerpc64*} CONFIGURE_ENV+=3D ABI=3D"mode64" +.elif ${ARCH:Mriscv*} +CONFIGURE_ENV+=3D ABI=3D"standard" .else CONFIGURE_ENV+=3D ABI=3D"64" .endif ijiraq#=20 Seems to work.=20 Strangely make check does not work.=20 ijiraq#=20 ijiraq# make check=20 make: don't know how to make check. Stop make: stopped in /usr/ports/math/gmp ijiraq#=20 --=20 Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional --=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-250939-7788>