This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC v6 00/23] RISC-V glibc port for the 32-bit
- From: Alistair Francis <alistair23 at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Alistair Francis <alistair dot francis at wdc dot com>, GNU C Library <libc-alpha at sourceware dot org>, Arnd Bergmann <arnd at arndb dot de>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, Florian Weimer <fweimer at redhat dot com>, Palmer Dabbelt <palmerdabbelt at google dot com>, "Maciej W. Rozycki" <macro at wdc dot com>, Zong Li <zongbox at gmail dot com>
- Date: Tue, 14 Jan 2020 17:30:12 +1000
- Subject: Re: [RFC v6 00/23] RISC-V glibc port for the 32-bit
- References: <cover.1578824547.git.alistair.francis@wdc.com> <alpine.DEB.2.21.2001121442090.1830@digraph.polyomino.org.uk>
On Mon, Jan 13, 2020 at 12:44 AM Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Sun, 12 Jan 2020, Alistair Francis wrote:
>
> > This is a list of the tests that are currently failing when running make
> > check:
>
> Could you give more details for the FAILing tests of why they are failing?
>
> > FAIL: conform/ISO11/stdalign.h/conform
> > FAIL: conform/POSIX/sys/mman.h/conform
>
> No ports should be added where any compilation tests are failing. You
> need to fix all the compilation tests so that build-many-glibcs.py results
> can remain clean.
Yep.
The errors I get are strange though, I'm not sure how to debug:
# cat conform/ISO11/stdalign.h/conform.out
Traceback (most recent call last):
File "conformtest.py", line 26, in <module>
import tempfile
File "/usr/lib/python3.7/tempfile.py", line 45, in <module>
from random import Random as _Random
File "/usr/lib/python3.7/random.py", line 58, in <module>
NV_MAGICCONST = 4 * _exp(-0.5)/_sqrt(2.0)
ValueError: math domain error
# cat conform/POSIX/sys/mman.h/conform.out
Traceback (most recent call last):
File "conformtest.py", line 26, in <module>
import tempfile
File "/usr/lib/python3.7/tempfile.py", line 45, in <module>
from random import Random as _Random
File "/usr/lib/python3.7/random.py", line 58, in <module>
NV_MAGICCONST = 4 * _exp(-0.5)/_sqrt(2.0)
ZeroDivisionError: float division by zero
Alistair
>
> --
> Joseph S. Myers
> joseph@codesourcery.com