Skip to content
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

Post 1.6.0.0 fixes and prepare 1.6.1.0 bug fix release #2647

Merged
merged 18 commits into from
Jan 29, 2022

Conversation

jneira
Copy link
Member

@jneira jneira commented Jan 28, 2022

@jneira jneira marked this pull request as ready for review January 28, 2022 23:33
@jneira jneira changed the title Post 1.6.0.0 fixes Post 1.6.0.0 fixes and prepare 1.6.1.0 bug fix release Jan 29, 2022
@jneira
Copy link
Member Author

jneira commented Jan 29, 2022

@jneira jneira added the merge me Label to trigger pull request merge label Jan 29, 2022
@mergify mergify bot merged commit f4022c5 into haskell:master Jan 29, 2022

Static binaries use the GHC linker for dynamically loading dependencies when typechecking TH code, and this can run into issues when loading shared objects linked against mismatching system libraries, or into GHC linker bugs (mainly the Mach linker used in Mac OS, but also potentially the ELF linker).
Dynamically linked binaries (including`ghci`) use the system linker instead of the GHC linker and avoid both issues.

The easiest way to obtain a dynamically linked HLS binary is to build it locally. With `cabal` this can be done as follows:

cabal update && cabal install haskell-language-server --enable-executable-dynamic
```bash
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i did a mini install from source section :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HLS wrapper is dynamically linked in 1.6.0 release
3 participants