-
Notifications
You must be signed in to change notification settings - Fork 207
Build failed on MacOS with clang link error(ghc 8.4.4) #1058
Comments
I have tried to update stack(head), clean stack files, reinstall stack and use third-part/apple's llvm/clang/gcc. None of them can work. I find some relative issues: commercialhaskell/stack#4399 commercialhaskell/stack#4504 commercialhaskell/stack#4125 commercialhaskell/stack#4373, but these cannot resolve my problem. |
Is it the same problem if you don't use |
@lorenzo Yes |
You might want to check whether you have |
Yeah, i had some troubles with binutils from brew before. Removeing binutils from brew fixed it. |
Thanks! @Anrock and @justjoheinz ! After remove binutils, this issue is fixed! |
I feel that this information should be given more prominence, as removing homebrew binutils also solved a problem of mine that had nothing to do with hie. |
Build with command
stack --system-ghc ./install.hs hie-8.4.4
.Error info:
If I try to use
stack install --stack-yaml=stack-8.4.4.yaml --system-ghc
, it is also failed withld: symbol(s) not found for architecture x86_64
when compilinghspec-discover
andhappy version
when compiling haskell-src-exts-1.20.3 (I have installed happy bystack install happy --stack-yaml=stack-8.4.4.yaml --system-ghc
.Here is error info with
stack install --stack-yaml=stack-8.4.4.yaml --system-ghc
If I remove
--system-ghc
, it has the same error.The text was updated successfully, but these errors were encountered: