Replies: 1 comment 1 reply
-
Can you try running GCC with Also, the host toolchain in your Arch Linux install is much newer than the ones in your Debian Bullseye install, so the linker error you see there may not be exactly the same as the one you posted here ( See also: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
i use homebrew / linuxbrew on a variety of systems, ie. linux and macos. my daily driver is a macbook running arch linux with homebrew setup in
~/homebrew
i am aware that is an "unsupported" setup / configuration. i use this setup because on some computers i use, multiple users have access to the computer and are logged in simultaneously primarily the compile farm computers i log into to work with the homebrew-freecad tap.so something i noticed when installing certain formula from source on my arch linux install ie. python@3.12 or any other python ie. python@3.11 or python@3.10 the build process would fail due to a linking error, which at first had me thinking it was due to the binutils install, but later troubleshooted it to the gcc bottle install on 2 different linux systems. i can reproduce the results on my arch linux install of homebrew and this cfarm186 computer with homebrew setup in the same dir structure of
~/homebrew
and installing gcc from the bottle will give me the same error message related to linking.the fix for me on my arch linux install with homebrew is to build and install gcc from source.
on my arch linux install where i've built gcc from source i get the below results compiling the below c program.
on the cfarm computer i'll get the below output attempting to compile the same program with the gcc bottle installed.
chatgpt.pthreadtest.c
i haven't tested to see if this issue is related to the non standard prefix install of homebrew or is this apparent on a standard install of homebrew with the default prefix, and i did not manage to run into this issue with macos systems.
Beta Was this translation helpful? Give feedback.
All reactions