This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC v6 00/23] RISC-V glibc port for the 32-bit


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]