All packages built with GHC / clang are failing
I am trying to rebuild the Debian archive using clang instead of gcc. The biggest source of errors (622 over 2188 [1]) is related to GHC.
Clang does not implement the "-u" option [2]. This is causing most (all?) of the "GHC based" packages to fail to build.
with:
/usr/lib/ghc/libHSrts.a(RtsStartup.o): In function `hs_exit_':
(.text+0x49): undefined reference to `base_GHCziTopHandler_flushStdHandles_closure'
Of course, if you think it is not GHC's fault at all or there is no workaround, don't hesitate to close this bug.
For example: http://clang.debian.net/logs/2013-07-14/agda_2.3.2.1-1_unstable_clang.log http://clang.debian.net/logs/2013-07-14/happy_1.18.10-2_unstable_clang.log
[1] http://clang.debian.net/status.php?version=3.3&key=MISSING_OPTION_U [2] http://llvm.org/bugs/show_bug.cgi?id=18250
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.6.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |