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

Comment(by marlowsd@…):

 commit a8b8d657807ff89fb94aecaefd65b6ab3e3b39e0
 {{{
 Author: Simon Marlow <[email protected]>
 Date:   Wed Jan 4 11:39:55 2012 +0000

     osElfTarget should default to False (#5733)

     Another portabilty regression: before Platform we used to use
 elf_OBJ_FORMAT:

      #if linux_TARGET_OS || freebsd_TARGET_OS || openbsd_TARGET_OS ||
 solaris2_TARGET_OS
      #define elf_OBJ_FORMAT 1
      #endif

     which defaults to undefined on unknown platforms.  Defaulting to
     non-ELF is correct, it just means that we won't rely on ELF-specific
     functionality.  I've added a comment to explain that.

  compiler/utils/Platform.hs |    9 +++++----
  1 files changed, 5 insertions(+), 4 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5733#comment:4>
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