On Sat, Mar 09, 2019 at 13:53:32 +0800, Li Qiang wrote:
> Hi all,
>
> Today I ‘git clone’ && configure && make && make check
>
> And get following error,
>
> fp-test.c:50:10: fatal error: fail.h: No such file or directory
> #include "fail.h"
> ^~~~
>
> I look at the commit:
> https://git.qemu.org/?p=qemu.git;a=commitdiff;h=3ac1f81329f4dfdc10a51e180f9cf28dbcb02a3c;hp=b44b5abeae4a3b54ccbd7137f59c0a8923cecec9
>
> Seems it’s old commit, I think I got ‘make check’ work after this commit.
> So I don’t know anywhere wrong.
>
> Any hints?
fail.h is part of berkeley-testfloat-3 -- I suspect the
berkeley-testfloat-3 git submodule wasn't checked out.
Make sure both berkeley-softfloat-3 and berkeley-testfloat-3 are
checked out at $src/tests/fp. If not, you can get them with
"git submodule init && git submodule update".
Hope that helps,
Emilio