Ticket #5733 (closed bug: fixed)
Build failure on kfreebsd: Don't know if OSUnknown is elf
| Reported by: | nomeata | Owned by: | simonmar |
|---|---|---|---|
| Priority: | highest | Milestone: | 7.4.1 |
| Component: | Compiler | Version: | 7.3 |
| Keywords: | Cc: | ||
| Operating System: | FreeBSD | Architecture: | Unknown/Multiple |
| Type of failure: | Building GHC failed | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

