[GHC] #2072: freebsd/amd64: don't know how to mangle assembly language

GHC trac at galois.com
Tue Jan 29 19:17:24 EST 2008


#2072: freebsd/amd64: don't know how to mangle assembly language
-------------------------------+--------------------------------------------
    Reporter:  newsham         |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  Compiler        |      Version:  6.8.2  
    Severity:  normal          |   Resolution:         
    Keywords:  ghc-asm         |     Testcase:         
Architecture:  x86_64 (amd64)  |           Os:  FreeBSD
-------------------------------+--------------------------------------------
Comment (by newsham):

 Looks like an easy fix for this one.  In
 driver/mangler/ghc-asm.prl add freebsd to line 219 to get:

     } elsif ( $TargetPlatform =~ /^x86_64-.*-(linux|openbsd|freebsd)$/m )
 {
                                                            ^^^^^^^^^

 zlib now builds as-is.

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


More information about the Glasgow-haskell-bugs mailing list