riscv-software-src / homebrew-riscv

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

riscv-tools homebrew build fails on OS X El Cap. #3

Closed riferguson closed 8 years ago

riferguson commented 8 years ago

The failure I'm seeing is similar to the previous issue with OS X Yosemite; a cascading build failure terminating in ":configure: error: C preprocessor "/lib/cpp" fails sanity check" during the build of build/build-gcc-newlib/riscv64-unknown-elf/libgcc. I've attached the contents of the Logs/Homebrew/riscv-gcc/03.make file for context.

I'm running OS X 10.11.2, with Xcode 7.2.

Thanks.

03.make.txt

sbeamer commented 8 years ago

Your error appears similar to what Travis is also reporting. On my system running 10.11.2 everything works after downgrading the packages used by gcc (last week's commit). I'll hopefully be able to reproduce and fix this in the next few weeks.

sbeamer commented 8 years ago

Please retry (after running brew update) and let me know if I fixed it. The bottles are now El Capitan, so it should use those (much faster install), but it should also be able to build from source too.

sbeamer commented 8 years ago

Please comment again to re-open this issue.