configure doesn't error out when --enable-dwarf-unwind is given but libdw cannot be found
Against expectations, the GHC bindist supposedly having DWARF support provided at
https://downloads.haskell.org/~ghc/8.4.4/ghc-8.4.4-x86_64-deb9-linux-dwarf.tar.xz
doesn't actually have DWARF support.
According to bgamari, this is because ./configure --enable-dwarf-unwind
doesn't actually complain when the required dependency libdw
isn't found; instead, it continues silently.
Most programs I know will barf out when something isn't found but also *explicitly* requested via the command line; for the cases where this wasn't, the project maintainers did consider this a bug.
GHC's ./configure
suite should fail hard when --enable-dwarf-unwind
is given but libdw
cannot be found.
Trac metadata
Trac field | Value |
---|---|
Version | 8.6.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System (make) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | bgamari, nh2 |
Operating system | |
Architecture |