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

Internal Compiler Error when trying to install #3

Open
JarredAllen opened this issue Jul 1, 2021 · 0 comments
Open

Internal Compiler Error when trying to install #3

JarredAllen opened this issue Jul 1, 2021 · 0 comments

Comments

@JarredAllen
Copy link

I get this message when trying to install this, following the instructions on the README:

brew install gcc-8-musl-cross                                                             (3 results) [1343/1800]
==> Installing gcc-8-musl-cross from marioschwalbe/gcc-musl-cross                                                            
==> Downloading https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.10.tar.xz                                             
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/398d7b1a67ebf5f658f5f31f2d57a936f9161716fed598d400290556e
8049d42--linux-4.4.10.tar.xz                                                                                                 
==> Downloading https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.bz2                                                       
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/11427836685cd679e0a25f5ba239b97c612e1668b5ccb228408e7376e
0a8a344--binutils-2.32.tar.bz2                                                                                               
==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-8.3.0/gcc-8.3.0.tar.xz                                                       
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/790ecda70af93e36763edcb183a8d4e91e433bee9bad9a60360addae9
d8e82be--gcc-8.3.0.tar.xz                                                                                                    
==> Downloading https://www.musl-libc.org/releases/musl-1.1.24.tar.gz                                                        
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/39251178a992dec0629c739dce14428bd27a256f272c76d17f6525751
b512ada--musl-1.1.24.tar.gz                                                                                                  
==> Downloading https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=3d5db9ebe860                  
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/53c623e9fd9ebac8516b8d880b2a1f0e9c9ef2aa08be18ec30d173ba4
ca7d1f2--config.sub                                                                                                          
==> Downloading https://github.com/richfelker/musl-cross-make/archive/v0.9.8.tar.gz                                          
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/b1fb6145694b3f03e6d4bab7953ade2a909be7407f0819f78d892d3dc
d3f81e8--musl-cross-make-0.9.8.tar.gz                                                                                        
==> Downloading https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.10.tar.xz                                             
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/398d7b1a67ebf5f658f5f31f2d57a936f9161716fed598d400290556e
8049d42--linux-4.4.10.tar.xz                                                                                                 
==> Downloading https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.bz2                                                       
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/11427836685cd679e0a25f5ba239b97c612e1668b5ccb228408e7376e
0a8a344--binutils-2.32.tar.bz2                                                                                               
==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-8.3.0/gcc-8.3.0.tar.xz                                                       
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/790ecda70af93e36763edcb183a8d4e91e433bee9bad9a60360addae9
d8e82be--gcc-8.3.0.tar.xz                                                                                                    
==> Downloading https://www.musl-libc.org/releases/musl-1.1.24.tar.gz                                                        
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/39251178a992dec0629c739dce14428bd27a256f272c76d17f6525751
b512ada--musl-1.1.24.tar.gz                                                                                                  
==> Downloading https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=3d5db9ebe860                  
Already downloaded: /Users/jarred/Library/Caches/Homebrew/downloads/53c623e9fd9ebac8516b8d880b2a1f0e9c9ef2aa08be18ec30d173ba4
ca7d1f2--config.sub                                                                                                          
==> /opt/homebrew/opt/make/bin/gmake TARGET=x86_64-linux-musl install                                                        
Last 15 lines from /Users/jarred/Library/Logs/Homebrew/gcc-8-musl-cross/01.gmake:                                            
echo timestamp > stmp-int-hdrs                                                                                               
/private/tmp/gcc-8-musl-cross-20210701-42876-abfa7j/musl-cross-make-0.9.8/build/local/x86_64-linux-musl/obj_gcc/./gcc/xgcc -B
/private/tmp/gcc-8-musl-cross-20210701-42876-abfa7j/musl-cross-make-0.9.8/build/local/x86_64-linux-musl/obj_gcc/./gcc/ -xc -n
ostdinc /dev/null -S -o /dev/null -fself-test=../../src_gcc/gcc/testsuite/selftests                                          
/dev/null:1: internal compiler error: in darwin_gt_pch_use_address, at config/host-darwin.c:51                               
libbacktrace could not find executable to open                                                                               
Please submit a full bug report,                                                                                             
with preprocessed source if appropriate.                                                                                     
See <https://github.com/MarioSchwalbe/gcc-musl-cross/issues> for instructions.                                               
gmake[3]: *** [Makefile:1976: s-selftest-c] Error 1                                                                          
rm gcc.pod                                                                                                                   
gmake[3]: Leaving directory '/private/tmp/gcc-8-musl-cross-20210701-42876-abfa7j/musl-cross-make-0.9.8/build/local/x86_64-lin
ux-musl/obj_gcc/gcc'                                                                                                         
gmake[2]: *** [Makefile:4298: all-gcc] Error 2                                                                               
gmake[2]: Leaving directory '/private/tmp/gcc-8-musl-cross-20210701-42876-abfa7j/musl-cross-make-0.9.8/build/local/x86_64-lin
ux-musl/obj_gcc'                                                                                                             
gmake[1]: *** [Makefile:211: obj_gcc/gcc/.lc_built] Error 2                                                                  
gmake[1]: Leaving directory '/private/tmp/gcc-8-musl-cross-20210701-42876-abfa7j/musl-cross-make-0.9.8/build/local/x86_64-lin
ux-musl'
gmake: *** [Makefile:168: install] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

I'm running on an M1 Mac, with version 3.2.0 of Homebrew, if that info is helpful.

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