- rGHC Glasgow Haskell Compiler
No Unit Test Coverage
- Build Status
Buildable 20514 Build 45015: [GHC] Linux/amd64: Continuous Integration Build 45014: [GHC] OSX/amd64: Continuous Integration Build 45013: [GHC] Windows/amd64: Continuous Integration Build 45012: arc lint + arc unit
I'm actually wondering if -fno-function-sections isn't just a Band-Aid here. I assume the actual issue is -gc-sections. I assume the sections are being dropped because they're unreferenced. This probably works because we have *some* reference to Printer.c somewhere but if this reference goes away during a cleanup or something the same issue would pop up again.
You could technically use --require-defined to keep the symbols from being dropped but that's even more linker specific.