https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407
Derrick Kay <derrick.k at gmx dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |derrick.k at gmx dot de --- Comment #53 from Derrick Kay <derrick.k at gmx dot de> --- Hi guys, sorry for asking such a stupid question here: I wanted to install and use Fortran on my Mac (never used it before) and ran into the problems with compiling described here. I have basically two questions: 1) which one of the patches reported and listed above shall I use? 2) I tried all of them, but I seem to have difficulties implementing them. Someone suggested to go to the appropriate directory where gcc is stored (i.e. SSD1 ▸ Applications ▸ Xcode ▸ Contents ▸ Developer ▸ usr ▸ bin) store the patch file there (as a .diff, right?) and then execute in the terminal patch -p1 < patchfilename.diff then, i get wlan251-121:patch3 Derrick$ patch -p1 < patch.diff can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc |index 196eb3b..d55e200 100644 |--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc |+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc -------------------------- File to patch: i enter gcc, and then i get patching file gcc Hunk #1 FAILED at 835. 1 out of 1 hunk FAILED -- saving rejects to file gcc.rej can't find file to patch at input line 18 Perhaps you used the wrong -p or --strip option? I am really new to all of this... any hint on how to implement one of the patches, and ideally which patch to use, would be very much appreciated. thank you, best, derrick