riscv-software-src / homebrew-riscv

homebrew (macOS) packages for RISC-V toolchain
https://riscv.org
314 stars 49 forks source link

Test failed on MacOS 11.2 #51

Closed zhongchengyong closed 3 years ago

zhongchengyong commented 3 years ago

I have installed riscv-tools by brew install, then run brew test riscv-tools Error occurs as following:

==> Testing riscv/riscv/riscv-tools ==> /usr/local/opt/riscv-gnu-toolchain/bin/riscv64-unknown-elf-gcc /private/tmp/riscv-tools-test-20210227-5616-1wuvb37/hello.c Last 15 lines from /Users/xxx/Library/Logs/Homebrew/riscv-tools/test.01.riscv64-unknown-elf-gcc: 2021-02-27 09:51:14 +0800 /usr/local/opt/riscv-gnu-toolchain/bin/riscv64-unknown-elf-gcc /private/tmp/riscv-tools-test-20210227-5616-1wuvb37/hello.c dyld: Library not loaded: /usr/local/opt/isl/lib/libisl.22.dylib Referenced from: /usr/local/Cellar/riscv-gnu-toolchain/master/libexec/gcc/riscv64-unknown-elf/10.2.0/cc1 Reason: image not found riscv64-unknown-elf-gcc: internal compiler error: Abort trap: 6 signal terminated program cc1 Please submit a full bug report, with preprocessed source if appropriate. See https://gcc.gnu.org/bugs/ for instructions. Error: riscv/riscv/riscv-tools: failed An exception occurred within a child process: BuildError: Failed executing: /usr/local/opt/riscv-gnu-toolchain/bin/riscv64-unknown-elf-gcc /private/tmp/riscv-tools-test-20210227-5616-1wuvb37/hello.c /usr/local/Homebrew/Library/Homebrew/formula.rb:2096:in block in system' /usr/local/Homebrew/Library/Homebrew/formula.rb:2032:inopen' /usr/local/Homebrew/Library/Homebrew/formula.rb:2032:in system' /usr/local/Homebrew/Library/Taps/riscv/homebrew-riscv/riscv-tools.rb:27:inblock in ' /usr/local/Homebrew/Library/Homebrew/formula.rb:1900:in block (3 levels) in run_test' /usr/local/Homebrew/Library/Homebrew/utils.rb:531:inwith_env' /usr/local/Homebrew/Library/Homebrew/formula.rb:1899:in block (2 levels) in run_test' /usr/local/Homebrew/Library/Homebrew/formula.rb:904:inwith_logging' /usr/local/Homebrew/Library/Homebrew/formula.rb:1898:in block in run_test' /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:inblock in run' /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in chdir' /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:inrun' /usr/local/Homebrew/Library/Homebrew/formula.rb:2145:in mktemp' /usr/local/Homebrew/Library/Homebrew/formula.rb:1892:inrun_test' /usr/local/Homebrew/Library/Homebrew/test.rb:43:in block in <main>' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/timeout.rb:93:inblock in timeout' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/timeout.rb:33:in block in catch' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/timeout.rb:33:incatch' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/timeout.rb:33:in catch' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/timeout.rb:108:intimeout' /usr/local/Homebrew/Library/Homebrew/test.rb:42:in `

'

sbeamer commented 3 years ago

I've pushed new bottles for Big Sur. Try reinstalling, and hopefully it will use the bottles and resolve your problem.

zhongchengyong commented 3 years ago

I've pushed new bottles for Big Sur. Try reinstalling, and hopefully it will use the bottles and resolve your problem.

It works, thank you very much.