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

HLS broken in -static? #24

Open
yvan-sraka opened this issue Mar 6, 2023 · 1 comment
Open

HLS broken in -static? #24

yvan-sraka opened this issue Mar 6, 2023 · 1 comment

Comments

@yvan-sraka
Copy link
Collaborator

HLS, which isn’t included in the -minimal devShell flavor, seems broken in the -static one:

last 10 log lines:
> dist/build/haskell-language-server/haskell-language-server-tmp/Main.o(.data+0x5a8): error: undefined reference to 'stg_SRT_4_info'
> dist/build/haskell-language-server/haskell-language-server-tmp/Main.o(.data+0x5b0): error: undefined reference to 'haskellzmlanguagezmserverzm1zi8zi0zi0zm1o58ZZky230r7vv4t7Fs4cA_IdeziArguments_getArguments1_closure'
> dist/build/haskell-language-server/haskell-language-server-tmp/Main.o(.data+0x5d8): error: undefined reference to 'stg_SRT_4_info'
> dist/build/haskell-language-server/haskell-language-server-tmp/Main.o(.data+0x5e0): error: undefined reference to 'base_GHCziIOziHandleziFD_stderr_closure'
> dist/build/haskell-language-server/haskell-language-server-tmp/Main.o(.data+0x5e8): error: undefined reference to 'ghcidezm1zi8zi0zi0zmDnn6Vml4mofDkXelX4I3Y_DevelopmentziIDEziTypesziLogger_makeDefaultHandleRecorder_closure'
> dist/build/haskell-language-server/haskell-language-server-tmp/Main.o(.data+0x630): error: undefined reference to 'base_GHCziTopHandler_runMainIO1_closure'
> /build/ghc176_0/ghc_4.o:ghc_3.c:function main: error: undefined reference to 'defaultRtsConfig'
> /build/ghc176_0/ghc_4.o:ghc_3.c:function main: error: undefined reference to 'hs_main'
> collect2: error: ld returned 1 exit status
> `x86_64-unknown-linux-musl-cc' failed in phase `Linker'. (Exit code: 1)
@angerman
Copy link
Collaborator

angerman commented Mar 6, 2023

Yes. Static HLS does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants