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

ghc: compile with DWARF support by default #69552

Merged
merged 1 commit into from Nov 22, 2019

Conversation

domenkozar
Copy link
Member

@domenkozar domenkozar commented Sep 26, 2019

This is blocked by https://gitlab.haskell.org/ghc/ghc/issues/17255

Commit

This allows our GHCs to build programs with DWARF debug information
when -g is passed, see https://ghc.haskell.org/trac/ghc/wiki/DWARF.

Compiling with debug symbols is off by default until GHC ticket
https://gitlab.haskell.org/ghc/ghc/issues/15960
(Using -g causes differences in generated core) is fixed.

This allows our GHCs to build programs with DWARF debug information
when -g is passed, see https://ghc.haskell.org/trac/ghc/wiki/DWARF.

Compiling with debug symbols is off by default until GHC ticket
https://gitlab.haskell.org/ghc/ghc/issues/15960
(Using -g causes differences in generated core) is fixed.
@domenkozar
Copy link
Member Author

@peti this is finally ready, we can only enable dwarf on HEAD for now, as it needs a patch that was merged yesterday.

@domenkozar
Copy link
Member Author

@GrahamcOfBorg build haskell.packages.ghcHEAD

@domenkozar
Copy link
Member Author

@GrahamcOfBorg build haskell.compiler.ghcHEAD

@domenkozar
Copy link
Member Author

It builds locally on linux.

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

Successfully merging this pull request may close these issues.

None yet

2 participants