"Overflow in vm range" in a haskell binary, linked with `--gc-sections`
- Dominant language
- C++
- Stars
- 5.5k
- Forks
- 378
- Avg merge
- 23h 54m
- Merged PRs (30d)
- 6
Description
```
$ bloaty test-pandoc -d compileunits
bloaty: Overflow in vm range, vmaddr=26239607, vmsize=18446744073683312009
$ bloaty --version
Bloaty McBloatface 1.1
```
This is from the pandoc test suite, compiled with `cabal build -w ghc-9.2.5`, and with DWARF symbols added (`-g1`), and linked with `---gc-sections`
The issue could very well be something with ghc, as DWARF isn't used much, maybe it's interacting badly with `-gc-sections`. But I figured I'd open a ticket
here's an example. it's bzip2 compressed, but I had to change the filename to please github
[test-pandoc.g1.gc-sections.broken.zip](https://github.com/google/bloaty/files/10097300/test-pandoc.g1.gc-sections.broken.zip)
Contributor guide
Assessment
This issue has not been assessed yet.