riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.13k stars 446 forks source link

could not find bfdsumm.texi #262

Open gnickyx opened 5 years ago

gnickyx commented 5 years ago

when I run the command:" ./build.sh",it comes out an error:

/home/user/downloads/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/bfd/doc/bfd.texinfo:193: @include: could not find bfdsumm.texi /home/user/downloads/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/bfd/doc/bfd.texinfo:320: @include: could not find fdl.texi make[4]: [bfd.info] Error 1 make[3]: [info-recursive] Error 1 make[2]: [all-bfd] Error 2 make[1]: [all] Error 2 make: *** [stamps/build-binutils-newlib] Error 2

Do you have any advice?

jim-wilson commented 5 years ago

There isn't enough info here to determine what went wrong.

FYI riscv-tools is poorly maintained and difficult to build. If you want a toolchain, you should use riscv-gnu-toolchain instead of riscv-tools. riscv-tools will give you a broken compiler. riscv-gnu-toolchain will give you a good compiler.

What OS are you building on? What version of texinfo/makeinfo do you have? Are you using an unusual filesystem, like an automount system that might have auto-unmounted at an inconvenient time? You can find the command that failed in riscv-gnu-toolchain/build/build.log. What happens if you try running this by hand?