[macOS High Sierra]gcc make fails during dependency install via './bootstrap.sh -d'
-
I agree that I have searched opened and closed issues to prevent duplicates.
Description
Dependency install via './bootstrap.sh -d' fails during gcc make.
Siddharth-MacBook-Air:~/redox/redox sid$ ./bootstrap.sh -d
|------------------------------------------|
|----- Welcome to the redox bootstrap -----|
|------------------------------------------|
Detected OSX!
Homebrew detected! Now updating...
Updated 1 tap (homebrew/cask).
No changes to formulae.
Installing missing packages...
git already exists at /usr/bin/git, no need to install git...
qemu-system-x86_64 already exists at /usr/local/bin/qemu-system-x86_64, no need to install qemu...
brew install coreutils
Warning: coreutils 8.31 is already installed and up-to-date
To reinstall 8.31, run `brew reinstall coreutils`
brew install findutils
Warning: findutils 4.7.0 is already installed and up-to-date
To reinstall 4.7.0, run `brew reinstall findutils`
gcc-4.9 already exists at /usr/local/bin/gcc-4.9, no need to install gcc49...
nasm already exists at /usr/bin/nasm, no need to install nasm...
pkg-config already exists at /usr/local/bin/pkg-config, no need to install pkg-config...
cmake already exists at /usr/local/bin/cmake, no need to install cmake...
brew cask install osxfuse
Warning: Cask 'osxfuse' is already installed.
To re-install osxfuse, run:
brew cask reinstall osxfuse
brew install redox-os/gcc_cross_compilers/x86_64-elf-gcc
==> Installing x86_64-elf-gcc from redox-os/gcc_cross_compilers
==> Downloading http://mirror.tochlab.net/pub/gnu/gcc/gcc-7.1.0/gcc-7
Already downloaded: /Users/sid/Library/Caches/Homebrew/downloads/0c9bfe94dbc7d2f00405fc26c8d944276521c0945012d381d2259d873f73315b--gcc-7.1.0.tar.bz2
==> ../configure --disable-nls --target=x86_64-elf --disable-werror -
==> make all-gcc
Last 15 lines from /Users/sid/Library/Logs/Homebrew/x86_64-elf-gcc/02.make:
^~~~~~~~~~~~~
../../gcc/graphite-optimize-isl.c:57:19: note: suggested alternative: 'isl_aff_dim'
unsigned dims = isl_space_dim (space, isl_dim_set);
^~~~~~~~~~~~~
isl_aff_dim
../../gcc/graphite-optimize-isl.c:60:3: error: 'isl_space_free' was not declared in this scope
isl_space_free (space);
^~~~~~~~~~~~~~
../../gcc/graphite-optimize-isl.c:60:3: note: suggested alternative: 'isl_aff_free'
isl_space_free (space);
^~~~~~~~~~~~~~
isl_aff_free
make[1]: *** [graphite-optimize-isl.o] Error 1
rm gcc.pod
make: *** [all-gcc] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/redox-os/homebrew-gcc_cross_compilers/issues
Environment info
- Redox OS Release: N.A.
- Operating system: macOS High Sierra 10.13.6
-
uname -a
: Darwin Siddharth-MacBook-Air.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64 -
rustc -V
: rustc 1.38.0-nightly (ad7c55e1f 2019-08-07) -
git rev-parse HEAD
: 41926856
Siddharth-MacBook-Air:~/redox/redox sid$ brew config
HOMEBREW_VERSION: 2.1.16
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3aa7624284c43180a3f3a71aeaa9263092868e12
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: be12e355f32eb2ccec7e13c0dd81fecbc9d1e53a
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.2 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.13.6-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: N/A
Siddharth-MacBook-Air:~/redox/redox sid$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Siddharth-MacBook-Air:~/redox/redox sid$ brew info gcc
gcc: stable 9.2.0 (bottled), HEAD
GNU compiler collection
https://gcc.gnu.org/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gcc.rb
==> Dependencies
Required: gmp ✔, isl ✔, libmpc ✔, mpfr ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 99,963 (30 days), 298,407 (90 days), 1,017,516 (365 days)
install_on_request: 53,897 (30 days), 151,893 (90 days), 491,422 (365 days)
build_error: 0 (30 days)
Steps to reproduce
- git clone redox
- cd redox
- ./bootstrap.sh -d
Behavior
- Expected behavior: Dependencies should be installed/updated
- Actual behavior: Replace me
Replace me
- Proposed solution: Replace me
Optional references
Related to:
- #0000 Remove me
- Replace me
- ...
Blocked by:
- #0000 Remove me
- ...
Optional extras
Replace me