[GHC] #8615: All packages built with GHC / clang are failing

GHC ghc-devs at haskell.org
Mon Dec 16 16:32:35 UTC 2013


#8615: All packages built with GHC / clang are failing
------------------------------------+-------------------------------------
       Reporter:  sylvestre         |             Owner:
           Type:  bug               |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Compiler          |           Version:  7.6.3
       Keywords:                    |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+-------------------------------------
 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

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8615>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list