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

failed Homebrew gcc 8.02 install causes build from source which fails with missing Soft-float-library symbols #8

Open
miltieIV2 opened this issue Sep 3, 2018 · 1 comment

Comments

@miltieIV2
Copy link

https://gcc.gnu.org/onlinedocs/gccint/Soft-float-library-routines.html

using Homebrew
Homebrew.add("gcc")

==> Installing gcc from staticfloat/juliatranslated
==> Downloading https://homebrew.bintray.com/bottles/gcc-8.2.0.high_sierra.bottle.1.tar.gz
Already downloaded: /Users/johnmilton/Library/Caches/Homebrew.jl/gcc-8.2.0.high_sierra.bottle.1.tar.gz
==> Pouring gcc-8.2.0.high_sierra.bottle.1.tar.gz
Error: Failed changing dylib ID of /Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libubsan.1.dylib
from @@HOMEBREW_PREFIX@@/opt/gcc/lib/gcc/8/i386/libubsan.1.dylib
to /Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/opt/gcc/lib/gcc/8/i386/libubsan.1.dylib
Error: Updated load commands do not fit in the header of /Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8/i386/libubsan.1.dylib. /Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/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/johnmilton/Library/Caches/Homebrew.jl/gcc-8.2.0.tar.xz
==> Patching
patching file gcc/graphite.h
==> ../configure --build=x86_64-apple-darwin17.7.0 --prefix=/Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0 --libdir=/Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/Cellar/gcc/8.2.0/lib/gcc/8 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-8 --with-gmp=/Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/opt/gmp --with-mpfr=/Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/opt/mpfr --with-mpc=/Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/opt/libmpc --with-isl=/Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/opt/isl --with-system-zlib --enable-checking=release --with-pkgversion=Homebrew GCC 8.2.0 --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --disable-nls --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
==> make
Last 15 lines from /Users/johnmilton/Library/Logs/Homebrew/gcc/02.make:
warning: (x86_64) could not find object file symbol for symbol ___floattidf
warning: (x86_64) could not find object file symbol for symbol ___floattixf
warning: (x86_64) could not find object file symbol for symbol ___floatuntisf
warning: (x86_64) could not find object file symbol for symbol ___floatuntidf
warning: (x86_64) could not find object file symbol for symbol ___floatuntixf
warning: (x86_64) could not find object file symbol for symbol ___divti3
warning: (x86_64) could not find object file symbol for symbol ___modti3
warning: (x86_64) could not find object file symbol for symbol ___divmodti4
warning: (x86_64) could not find object file symbol for symbol ___udivti3
warning: (x86_64) could not find object file symbol for symbol ___umodti3
warning: (x86_64) could not find object file symbol for symbol ___udivmodti4
warning: (x86_64) could not find object file symbol for symbol ___udiv_w_sdiv
make[2]: *** [all-stage1-target-libgcc] 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

These open issues may also help:
gcc #6
failed process: Process(/Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/deps/usr/bin/brew install --ignore-dependencies staticfloat/juliatranslated/gcc, ProcessExited(1)) [1]

Stacktrace:
[1] pipeline_error(::Base.Process) at ./process.jl:682
[2] run(::Cmd) at ./process.jl:651
[3] #brew#4(::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Function, ::Cmd) at /Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/src/API.jl:19
[4] (::Homebrew.#kw##brew)(::Array{Any,1}, ::Homebrew.#brew, ::Cmd) at ./:0
[5] #install_and_link#42(::Bool, ::Function, ::String) at /Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/src/API.jl:492
[6] (::Homebrew.#kw##install_and_link)(::Array{Any,1}, ::Homebrew.#install_and_link, ::String) at ./:0
[7] #add#33(::Bool, ::Bool, ::Function, ::String) at /Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/src/API.jl:462
[8] add(::String) at /Applications/JuliaPro-0.6.4.1.app/Contents/Resources/pkgs-0.6.4.1/v0.6/Homebrew/src/API.jl:412

@miltieIV2
Copy link
Author

02.make.log

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

1 participant