riscv-software-src / homebrew-riscv

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

M1 Mac Pro, macOS 14.1.2, riscv-gnu-toolchain install failed #118

Closed ColorlessBoy closed 8 months ago

ColorlessBoy commented 9 months ago

Hi, my system is Apple M1 Pro-macOS 14.1.2-10151.41.12. When I run brew install riscv-tools I got error:

Last 15 lines from /Users/penglingwei/Library/Logs/Homebrew/riscv-gnu-toolchain/07.make:
Making install in testsuite
make[9]: Nothing to be done for `install-exec-am'.
make[9]: Nothing to be done for `install-data-am'.
Making install in python
make[9]: Nothing to be done for `install-exec-am'.
 ../../../../../.././gcc/libstdc++-v3/../install-sh -c -d '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python'
 /usr/bin/install -c -m 644 gdb.py /opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/lib/rv64imafdc/lp64d/libstdc++.a-gdb.py
 ../../../../../.././gcc/libstdc++-v3/../install-sh -c -d '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx/v6'
 /usr/bin/install -c -m 644  ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/v6/printers.py ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/v6/xmethods.py ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/v6/__init__.py '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx/v6'
 ../../../../../.././gcc/libstdc++-v3/../install-sh -c -d '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx'
 /usr/bin/install -c -m 644  ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/__init__.py '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx'
true "AR_FLAGS=rc" "CC_FOR_BUILD=clang" "CC_FOR_TARGET=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/xgcc -B/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/" "CFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CXXFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-march=rv64imafdc -mabi=lp64d" "LIBCFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "LIBCFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "MAKE=/Applications/Xcode.app/Contents/Developer/usr/bin/make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000      " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/main" "infodir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/info" "libdir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/lib" "includedir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/include" "prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/main" "tooldir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf" "gxx_include_dir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/include/c++/13.2.0" "AR=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ar" "AS=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/as" "LD=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/collect-ld" "RANLIB=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ranlib" "NM=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/nm" "DESTDIR=" "WERROR=" DO=all multi-do # /Applications/Xcode.app/Contents/Developer/usr/bin/make
true "AR_FLAGS=rc" "CC_FOR_BUILD=clang" "CC_FOR_TARGET=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/xgcc -B/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/" "CFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CXXFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-march=rv64imafdc -mabi=lp64d" "LIBCFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "LIBCFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "MAKE=/Applications/Xcode.app/Contents/Developer/usr/bin/make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000       " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/main" "infodir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/info" "libdir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/lib" "includedir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/include" "prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/main" "tooldir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf" "gxx_include_dir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/include/c++/13.2.0" "AR=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ar" "AS=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/as" "LD=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/collect-ld" "RANLIB=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ranlib" "NM=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/nm" "DESTDIR=" "WERROR=" DO=install multi-do # /Applications/Xcode.app/Contents/Developer/usr/bin/make
make[9]: Nothing to be done for `install-data-am'.
mkdir -p stamps/ && touch stamps/build-gcc-newlib-stage2
ykozhoma commented 9 months ago

I have bumped into the same issue today on my M2 MBP (Version 14.1.2 (23B92))

Making install in testsuite
make[9]: Nothing to be done for `install-exec-am'.
make[9]: Nothing to be done for `install-data-am'.
Making install in python
make[9]: Nothing to be done for `install-exec-am'.
 ../../../../../.././gcc/libstdc++-v3/../install-sh -c -d '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python'
 /usr/bin/install -c -m 644 gdb.py /opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/lib/rv64imafdc/lp64d/libstdc++.a-gdb.py
 ../../../../../.././gcc/libstdc++-v3/../install-sh -c -d '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx/v6'
 /usr/bin/install -c -m 644  ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/v6/printers.py ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/v6/xmethods.py ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/v6/__init__.py '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx/v6'
 ../../../../../.././gcc/libstdc++-v3/../install-sh -c -d '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx'
 /usr/bin/install -c -m 644  ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/__init__.py '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx'
true "AR_FLAGS=rc" "CC_FOR_BUILD=clang" "CC_FOR_TARGET=/private/tmp/riscv-gnu-toolchain-20231206-33803-4p8vja/build-gcc-newlib-stage2/./gcc/xgcc -B/private/tmp/riscv-gnu-toolchain-20
231206-33803-4p8vja/build-gcc-newlib-stage2/./gcc/" "CFLAGS=-Os    -mcmodel=medany  -march=
rv64imafdc -mabi=lp64d" "CXXFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-march=rv64imafdc -mabi=lp64d" "LIBCFLAGS=-Os    -
mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "LIBCFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "MAKE=/Applications/Xcode.app/Contents/Developer/usr/bin/make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000      " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/main" "infodir=/opt/homebrew/Cellar/riscv-gnu-toolchai
n/main/share/info" "libdir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/lib" "includedir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/include" "prefix=/opt/homebrew/Cellar/riscv-gn
u-toolchain/main" "tooldir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-el
f" "gxx_include_dir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/include/c++/13.2.0" "AR=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ar" "AS=/private/tmp/riscv-gnu-toolchain-20231206-33803-4p8vja/build-gcc-newlib-stage2/./gcc/as" "LD=/private/tmp/riscv-gnu-toolchain-20231206-33803-4p8vja/build-gcc-newlib-stage2/./gcc/collect-ld" "RANLIB=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ranlib" "NM=/private/tmp/riscv-gnu-toolchain-20231206-33803-4p8vja/build-gcc-newlib-stage2/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/ris
cv64-unknown-elf/bin/nm" "DESTDIR=" "WERROR=" DO=all multi-do # /Applications/Xcode.app/Contents/Developer/usr/bin/make
true "AR_FLAGS=rc" "CC_FOR_BUILD=clang" "CC_FOR_TARGET=/private/tmp/riscv-gnu-toolchain-202
31206-33803-4p8vja/build-gcc-newlib-stage2/./gcc/xgcc -B/private/tmp/riscv-gnu-toolchain-20
231206-33803-4p8vja/build-gcc-newlib-stage2/./gcc/" "CFLAGS=-Os    -mcmodel=medany  -march=
rv64imafdc -mabi=lp64d" "CXXFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "INSTALL=/usr/bin/instal
l -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INST
ALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-march=rv64imafdc -mabi=lp64d" "LIBCFLAGS=-Os    -
mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "LIBCFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "MAKE=/Applications/Xcode.app/Contents/Developer/usr/bin/make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000       " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/op
t/homebrew/Cellar/riscv-gnu-toolchain/main" "infodir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/info" "libdir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/lib" "includedir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/include" "prefix=/opt/homebrew/Cellar/riscv-g
nu-toolchain/main" "tooldir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf" "gxx_include_dir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/incl
ude/c++/13.2.0" "AR=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ar" "AS=/private/tmp/riscv-gnu-toolchain-20231206-33803-4p8vja/build-gcc-newlib-stage2/./gcc/as" "LD=/private/tmp/riscv-gnu-toolchain-20231206-33803-4p8vja/build-gcc-newlib-stage2/./g
cc/collect-ld" "RANLIB=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ranlib" "NM=/private/tmp/riscv-gnu-toolchain-20231206-33803-4p8vja/build-gcc-newlib-stage
2/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/nm" "DESTDIR=" "WERROR=" DO=install multi-do # /Applications/Xcode.app/Contents/Developer/usr/bin/make
make[9]: Nothing to be done for `install-data-am'.
mkdir -p stamps/ && touch stamps/build-gcc-newlib-stage2
ColorlessBoy commented 9 months ago

You can try brew install riscv-tools again. It works on my computer now.

kyuna312 commented 9 months ago

Hi, my system is Apple M1 Pro-macOS 14.1.2-10151.41.12. When I run brew install riscv-tools I got error:

Last 15 lines from /Users/penglingwei/Library/Logs/Homebrew/riscv-gnu-toolchain/07.make:
Making install in testsuite
make[9]: Nothing to be done for `install-exec-am'.
make[9]: Nothing to be done for `install-data-am'.
Making install in python
make[9]: Nothing to be done for `install-exec-am'.
 ../../../../../.././gcc/libstdc++-v3/../install-sh -c -d '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python'
 /usr/bin/install -c -m 644 gdb.py /opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/lib/rv64imafdc/lp64d/libstdc++.a-gdb.py
 ../../../../../.././gcc/libstdc++-v3/../install-sh -c -d '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx/v6'
 /usr/bin/install -c -m 644  ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/v6/printers.py ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/v6/xmethods.py ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/v6/__init__.py '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx/v6'
 ../../../../../.././gcc/libstdc++-v3/../install-sh -c -d '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx'
 /usr/bin/install -c -m 644  ../../../../../.././gcc/libstdc++-v3/python/libstdcxx/__init__.py '/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/gcc-13.2.0/python/libstdcxx'
true "AR_FLAGS=rc" "CC_FOR_BUILD=clang" "CC_FOR_TARGET=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/xgcc -B/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/" "CFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CXXFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-march=rv64imafdc -mabi=lp64d" "LIBCFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "LIBCFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "MAKE=/Applications/Xcode.app/Contents/Developer/usr/bin/make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000      " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/main" "infodir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/info" "libdir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/lib" "includedir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/include" "prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/main" "tooldir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf" "gxx_include_dir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/include/c++/13.2.0" "AR=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ar" "AS=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/as" "LD=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/collect-ld" "RANLIB=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ranlib" "NM=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/nm" "DESTDIR=" "WERROR=" DO=all multi-do # /Applications/Xcode.app/Contents/Developer/usr/bin/make
true "AR_FLAGS=rc" "CC_FOR_BUILD=clang" "CC_FOR_TARGET=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/xgcc -B/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/" "CFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CXXFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-march=rv64imafdc -mabi=lp64d" "LIBCFLAGS=-Os    -mcmodel=medany  -march=rv64imafdc -mabi=lp64d" "LIBCFLAGS_FOR_TARGET=-Os    -mcmodel=medany" "MAKE=/Applications/Xcode.app/Contents/Developer/usr/bin/make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000       " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/main" "infodir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/share/info" "libdir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/lib" "includedir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/include" "prefix=/opt/homebrew/Cellar/riscv-gnu-toolchain/main" "tooldir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf" "gxx_include_dir=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/include/c++/13.2.0" "AR=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ar" "AS=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/as" "LD=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/collect-ld" "RANLIB=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/ranlib" "NM=/private/tmp/riscv-gnu-toolchain-20231206-84890-3re5bf/build-gcc-newlib-stage2/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/opt/homebrew/Cellar/riscv-gnu-toolchain/main/riscv64-unknown-elf/bin/nm" "DESTDIR=" "WERROR=" DO=install multi-do # /Applications/Xcode.app/Contents/Developer/usr/bin/make
make[9]: Nothing to be done for `install-data-am'.
mkdir -p stamps/ && touch stamps/build-gcc-newlib-stage2

i think you should update ur os and then again install riscv-tools it then worked for me

ykozhoma commented 9 months ago

You can try brew install riscv-tools again. It works on my computer now.

It worked for me! Huge thanks.