#5733: Build failure on kfreebsd: Don't know if OSUnknown is elf
---------------------------------+------------------------------------------
 Reporter:  nomeata              |          Owner:                  
     Type:  bug                  |         Status:  new             
 Priority:  normal               |      Component:  Compiler        
  Version:  7.3                  |       Keywords:                  
       Os:  FreeBSD              |   Architecture:  Unknown/Multiple
  Failure:  Building GHC failed  |       Testcase:                  
Blockedby:                       |       Blocking:                  
  Related:                       |  
---------------------------------+------------------------------------------
 Hi,

 the 7.4.1 release candidate failed to build on the two Debian ports based
 on the freebsd kernel; previous versions built fine. It would be great if
 arm support would not be dropped, if it can be helped:

 {{{
 "inplace/bin/ghc-stage1"   -H32m -O -lffi -optl-pthread    -package-name
 ghc-prim-0.2.0.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries
 /ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-
 install/build/autogen -Ilibraries/ghc-prim/dist-install/build -Ilibraries
 /ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/.    -optP-
 include -optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h
 -package rts-1.0  -package-name ghc-prim -XHaskell98 -XCPP -XMagicHash
 -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples
 -XEmptyDataDecls -XNoImplicitPrelude -O2  -no-user-package-conf -rtsopts
 -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim
 /dist-install/build -stubdir libraries/ghc-prim/dist-install/build -hisuf
 hi -osuf  o -hcsuf hc -c libraries/ghc-prim/./GHC/Magic.hs -o libraries
 /ghc-prim/dist-install/build/GHC/Magic.o
 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 7.4.0.20111219 for x86_64-unknown-kfreebsdgnu):
         Don't know if OSUnknown is elf

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 make[2]: *** [libraries/ghc-prim/dist-install/build/GHC/Magic.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 7.4.0.20111219 for x86_64-unknown-kfreebsdgnu):
         Don't know if OSUnknown is elf

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 make[2]: *** [libraries/ghc-prim/dist-install/build/GHC/Types.o] Error 1

 }}}

 Full log at https://buildd.debian.org/status/fetch.php?pkg=ghc&arch
 =kfreebsd-amd64&ver=7.4.0.20111219-2&stamp=1324640808

 To the best of my knowledge, kfreebsd _does_ use the ELF format.

 Thanks,
 Joachim on behalf of the Debian Haskell Team

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to