Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc #6

Closed
skleinbo opened this issue May 22, 2018 · 2 comments
Closed

gcc #6

skleinbo opened this issue May 22, 2018 · 2 comments

Comments

@skleinbo
Copy link

Related: JuliaPackaging/Homebrew.jl#231

==> Installing gcc from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/gcc-8.1.0.high_sierra.bottl
==> Downloading from https://akamai.bintray.com/7b/7b92e10293f1c1fc3208b7da7fef3
######################################################################## 100.0%
==> Pouring gcc-8.1.0.high_sierra.bottle.1.tar.gz
Error: Failed changing install name in /Users/skleinbo/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.1.0/lib/gcc/8/i386/libubsan.1.dylib
  from @@HOMEBREW_CELLAR@@/gcc/8.1.0/lib/gcc/8/i386/libstdc++.6.dylib
    to /Users/skleinbo/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.1.0/lib/gcc/8/i386/libstdc++.6.dylib
Error: Updated load commands do not fit in the header of /Users/skleinbo/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.1.0/lib/gcc/8/i386/libubsan.1.dylib. /Users/skleinbo/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.1.0/lib/gcc/8/i386/libubsan.1.dylib needs to be relinked, possibly with -headerpad or -headerpad_max_install_names
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-8.1.0/gcc-8.1.0.tar.xz
Already downloaded: /Users/skleinbo/Library/Caches/Homebrew.jl/gcc-8.1.0.tar.xz
==> ../configure --build=x86_64-apple-darwin17.4.0 --prefix=/Users/skleinbo/.jul
==> make
@Jutho
Copy link

Jutho commented Jul 31, 2018

Same here with gcc 8.2, but then followed by an error in building from source:

==> Pouring gcc-8.2.0.high_sierra.bottle.tar.gz
Error: Failed changing install name in /Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libubsan.1.dylib
  from @@HOMEBREW_CELLAR@@/gcc/8.2.0/lib/gcc/8/i386/libstdc++.6.dylib
    to /Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libstdc++.6.dylib
Error: Updated load commands do not fit in the header of /Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libubsan.1.dylib. /Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libubsan.1.dylib needs to be relinked, possibly with -headerpad or -headerpad_max_install_names
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.xz
Already downloaded: /Users/jhaegemn/Library/Caches/Homebrew.jl/gcc-8.2.0.tar.xz
==> ../configure --build=x86_64-apple-darwin17.6.0 --prefix=/Users/jhaegemn/.jul
==> make
Last 15 lines from /Users/jhaegemn/Library/Logs/Homebrew/gcc/02.make:
__isl_give isl_set *isl_map_domain(__isl_take isl_map *bmap);
                    ^
../../gcc/graphite-sese-to-poly.c:524:26: error: cannot initialize a parameter of type 'isl_map *' with an rvalue of type 'isl_space *'
                            isl_space_domain (isl_map_get_space (acc)));
                                              ^~~~~~~~~~~~~~~~~~~~~~~
/Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/include/isl/map.h:496:56: note: passing argument to parameter 'bmap' here
__isl_give isl_set *isl_map_domain(__isl_take isl_map *bmap);
                                                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [graphite-sese-to-poly.o] Error 1
rm gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/staticfloat/homebrew-juliatranslated/issues

This on a fresh julia 0.6.4 install, with a clean package library, upon trying to install HDF5.jl

@Jutho
Copy link

Jutho commented Jul 31, 2018

and a slightly different error upon trying to build HDF5.jl again:

==> Installing gcc from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/gcc-8.2.0.high_sierra.bottl
Already downloaded: /Users/jhaegemn/Library/Caches/Homebrew.jl/gcc-8.2.0.high_sierra.bottle.tar.gz
==> Pouring gcc-8.2.0.high_sierra.bottle.tar.gz
Error: Failed changing install name in /Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libubsan.1.dylib
  from @@HOMEBREW_CELLAR@@/gcc/8.2.0/lib/gcc/8/i386/libstdc++.6.dylib
    to /Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libstdc++.6.dylib
Error: Updated load commands do not fit in the header of /Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libubsan.1.dylib. /Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libubsan.1.dylib needs to be relinked, possibly with -headerpad or -headerpad_max_install_names
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.xz
Already downloaded: /Users/jhaegemn/Library/Caches/Homebrew.jl/gcc-8.2.0.tar.xz
==> ../configure --build=x86_64-apple-darwin17.6.0 --prefix=/Users/jhaegemn/.jul
==> make
Last 15 lines from /Users/jhaegemn/Library/Logs/Homebrew/gcc/02.make:
/Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/include/isl/mat.h:28:21: note: 'isl_mat_alloc' declared here
__isl_give isl_mat *isl_mat_alloc(isl_ctx *ctx,
                    ^
../../gcc/graphite-isl-ast-to-gimple.c:1372:61: error: cannot initialize a parameter of type 'unsigned int' with an lvalue of type 'const char [1]'
  isl_id *id = isl_id_alloc (isl_ast_build_get_ctx (build), "", for_info);
                                                            ^~
/Users/jhaegemn/.julia/v0.6/Homebrew/deps/usr/include/isl/mat.h:29:11: note: passing argument to parameter 'n_row' here
        unsigned n_row, unsigned n_col);
                 ^
11 errors generated.
make[3]: *** [graphite-isl-ast-to-gimple.o] Error 1
rm gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants