two tests fail for 6.1.2 on RISC-V rc64imafdc FreeBSD

Dennis Clarke dclarke at blastwave.org
Mon Jul 29 04:39:09 UTC 2019


This is an oddball environment to be sure :

rv64$
rv64$ uname -apKU
FreeBSD ganymede 13.0-CURRENT FreeBSD 13.0-CURRENT r348983 QEMU  riscv
riscv64 1300031 1300031
rv64$
rv64$ echo $CC
/usr/local/bin/gcc
rv64$
rv64$ $CC --version
gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rv64$
rv64$ echo $CFLAGS
-std=iso9899:1999 -g -O0 -fno-builtin -march=rv64imafdc -mabi=lp64d
-L/lib -L/usr/lib -Wl,-rpath=/opt/bw/lib -Wl,-rpath=/usr/local/lib
-Wl,-rpath=/lib -Wl,-rpath=/usr/lib -mpreferred-stack-boundary=4
-mstrict-align -mexplicit-relocs
rv64$

Compile goes smoothly and slowly. Tests run smoothly and slowly until :


FAIL: reuse
FAIL: t-cmp_z
============================================================================
Testsuite summary for GNU MP 6.1.2
============================================================================
# TOTAL: 15
# PASS:  13
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/mpq/test-suite.log
Please report to gmp-bugs at gmplib.org, see
https://gmplib.org/manual/Reporting-Bugs.html
============================================================================
*** Error code 1

Stop.
make[5]: stopped in
/usr/local/build/gmp-6.1.2_FreeBSD_13_rv64imafdc.001/tests/mpq
*** Error code 1

Stop.
make[4]: stopped in
/usr/local/build/gmp-6.1.2_FreeBSD_13_rv64imafdc.001/tests/mpq
*** Error code 1

Stop.
make[3]: stopped in
/usr/local/build/gmp-6.1.2_FreeBSD_13_rv64imafdc.001/tests/mpq
*** Error code 1

Stop.
make[2]: stopped in
/usr/local/build/gmp-6.1.2_FreeBSD_13_rv64imafdc.001/tests
*** Error code 1

Stop.
make[1]: stopped in /usr/local/build/gmp-6.1.2_FreeBSD_13_rv64imafdc.001
*** Error code 1

Stop.
make: stopped in /usr/local/build/gmp-6.1.2_FreeBSD_13_rv64imafdc.001
rv64$
rv64$ cat tests/mpq/test-suite.log
============================================
   GNU MP 6.1.2: tests/mpq/test-suite.log
============================================

# TOTAL: 15
# PASS:  13
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: reuse
===========

../../../gmp-6.1.2/test-driver: ./reuse: Exec format error
FAIL reuse (exit status: 126)

FAIL: t-cmp_z
=============

../../../gmp-6.1.2/test-driver: ./t-cmp_z: Exec format error
FAIL t-cmp_z (exit status: 126)

rv64$

However no problems with that "mpn_lshift_com" config test. However that
is a whole other matter I am still looking into on FreeBSD ppc64 where
it fails as well as on RISC-V.  However the RISC-V config.log shows no
such problems.

-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional


More information about the gmp-bugs mailing list