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: Joseph Myers <joseph at codesourcery dot com>
- To: Alistair Francis <alistair23 at gmail 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 22:08:35 +0000
- Subject: Re: [RFC v6 00/23] RISC-V glibc port for the 32-bit
- Ironport-sdr: vIvL5OmwLXdIt2SLB/cmL+1pGlJjPAQHKohxiwzmrgqg84MrceJ6NHHl4bB5pK94u4dVjI+ivG YGgF5qgHrQhUsniCYJff6pbEjXiBniYFErZnKED3yKu9BVwTCqsMUAAN9UT9t4eIQcAU0H0Gol HgqHUSFy25nObqgfPoZ8nPityMBf+TNYXlki2aCtF8pzTe0lJ1G0j3ChONJzjJIuZyPcjCaNyJ hsPSVDuJ2KUWwFwot0ofso/0UQfq+mFdtT+sCxqZC8rPfWkn4jTat8Xao9XpBLj6XpjfeWG6bS jEQ=
- Ironport-sdr: PcNe8SeYtEy66MAZNJpc7lI25mCqnwI9YDKILnFH8LsdC0bRFmeLI81L+hVjmquUWBXO6YV6y0 AS82qmuaNEEk31/WEw6cCSpnOEVTHNTC3bZOBM9BPUsWiQlp7enheNp+X8AIrLwL/7YJfDiyRg JeErx/dsV29MYa4gbpLF773nzx5KrRt3SqLjU7TtfDfbz13QInKhMXlPpyZIwSyJD06ipNHj9O UJToCxQmtBZwiuOmo/tpERbaE3WMnVfuyzX/q6RXVdas4gN6PUZuNvdHC+T/OLnTHSMIR9Upzy sis=
- References: <cover.1578824547.git.alistair.francis@wdc.com> <alpine.DEB.2.21.2001121442090.1830@digraph.polyomino.org.uk> <CAKmqyKPgsny10c+L5W6o9_UTTPT6-jh1Vmp52DLEbMpxZHwJyw@mail.gmail.com>
On Tue, 14 Jan 2020, Alistair Francis wrote:
> 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
That suggests you've got a broken python installation. If you're doing
native testing on RV32, I suggest doing cross-testing (using
cross-test-ssh.sh) instead, so that python runs on a known-good build
system, until the RV32 system is stable enough.
--
Joseph S. Myers
joseph@codesourcery.com