Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Profiling build of current master is broken #938

Closed
mpickering opened this issue Mar 30, 2020 · 2 comments
Closed

Profiling build of current master is broken #938

mpickering opened this issue Mar 30, 2020 · 2 comments

Comments

@mpickering
Copy link
Contributor

Adding profiling: True to the cabal.project file has been recently broken. I suspect by 9ccd9ee (@pepeiborra)

> cabal new-build
....
exe/Rules.hs:106:28: fatal:
    cannot find object file ‘/home/matt/ghcide-clean/dist-newstyle/build/x86_64-linux/ghc-8.8.1/ghcide-0.1.0/x/ghcide/build/ghcide/ghcide-tmp/Util.dyn_o’
    while linking an interpreted expression
cabal: Failed to build exe:ghcide from ghcide-0.1.0.
@pepeiborra
Copy link
Collaborator

pepeiborra commented Mar 30, 2020

FWIW I cannot repro this with ghc 8.8.3 using cabal build -p.

EDIT: oh wait, -p doesn't seem to imply executable profiling. And neither does --enable-executable-profiling, only --enable-profiling does. This is not confusing at all... Anyway, I can confirm that the error does not repro for me with ghc 8.8.3 nor ghc 8.6.5 (linux)

@jneira
Copy link
Member

jneira commented Oct 5, 2020

Issue is old and it was not reproduced at that time. @mpickering feel free to reopen if you continue hitting it

@jneira jneira closed this as completed Oct 5, 2020
@pepeiborra pepeiborra transferred this issue from haskell/ghcide Jan 1, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants