Linux gcc formula (gcc-15) doesn't use the brew binutils as, so breaks on ".base64" assembly instruction #6229
Unanswered
c-kloukinas
asked this question in
Linux
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
|
@c-kloukinas This is not a brew problem, you have a toolchain mismatch that needs to be taken care of in your environment. GCC15 uses binutils 2.43+, whose What you can do is install a recent binutils and add that to your path. Here are the instructions for it and then you can invoke GCC15 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Additional Info
Output of
brew configOutput of
brew doctorDescription of issue
gcc declares binutils as a dependency on Linux but the compiler (gcc-15) doesn't call the brew binutils "as" explicitly, so gets an older Linux version that doesn't know what .base64 is:
I got the test code (as-check.c) from the following bug report (not smart enough to write my own...)
https://gcc.gnu.org/pipermail/gcc-bugs/2024-October/886677.html
I tried uninstalling and re-installing gcc & binutils - same behaviour.
Beta Was this translation helpful? Give feedback.
All reactions