-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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: gfortran internal compiler error #72865
Comments
There's a couple files missing when I tried to reproduce this locally:
Could you post them too? The internal compiler error is very likely an upstream issue, but I'll try reproduce and confirm that first (since the GCC formula does indeed point to this issue tracker as the first port of call). |
Thank you for your prompt response!
Right. I wondered why Homebrew wants to hear about an internal compiler error . . .
My bad! Here they are:
|
Thanks! I'm able to reproduce the issue on Ubuntu's GCC as well. I recommend opening an upstream issue about this: https://gcc.gnu.org/bugs/. You can mention that it's reproducible with both Homebrew and Ubuntu's GCC.
I think it's just in case we ship our own modificiations/patches, and it's those changes which have broken things. In reality, the patches we do on macOS are minimal and almost always have already been submitted upstream first. There's even times we don't have any patches at all. Apple Silicon (arm64) is different. That GCC build is heavily modified (based on a fork) to support Apple Silicon and issues with that should definitely not go upstream. But that doesn't apply here since we're talking about |
To maximise the likelihood that your bug report is addressed, you might want to reduce the error into a minimal working example. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputbrew gist-logs gcc
says "Error: No logs."brew config
HOMEBREW_VERSION: 3.0.5
ORIGIN: https://github.com/Homebrew/brew
HEAD: 8b677c0
Last commit: 16 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 6d37897
Core tap last commit: 6 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.47wXew6Nqa/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 12.0 build 1200
Git: 2.30.2 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2.3-x86_64
CLT: 12.4.0.0.1.1610135815
Xcode: N/A
XQuartz: 2.7.11 => /opt/X11
brew doctor
Your system is ready to brew.
brew doctor
above contains no "Warning" lines.What were you trying to do (and why)?
I'm trying to compile a Fortran program.
What happened (include all command output)?
An "internal compiler error" occurs:
The dollar symbol above is the command prompt.
What did you expect to happen?
N/A
Step-by-step reproduction instructions (by running
brew
commands)gfortran
comes with Homebrew'sgcc
package. The step-by-step instructions are included in the "What happened" section of this report.I don't know how to attach my Fortran source programs. So, I'll paste all of them.
The text was updated successfully, but these errors were encountered: