Couldn't figure out linker information!
Summary
When trying to compile a source file on OpenBSD, GHC quits with the following error:
<no location info>: error:
Warning: Couldn't figure out linker information!
Make sure you're using GNU ld, GNU gold or the built in OS X linker, etc.
The steps to fix the error from issue #8825 (closed) do not work.
Steps to reproduce
The only step necessary to reproduce this issue is trying to compile a source file.
Expected behavior
Produce a correctly linked ELF binary
Environment
- GHC version used: 8.2.2
- ld version: 7.0.1
- Operating System: OpenBSD 6.5
- System Architecture: amd64