[GHC] #7389: can't link postgresql-libpq on windows

GHC cvs-ghc at haskell.org
Fri Apr 12 19:41:39 CEST 2013


#7389: can't link postgresql-libpq on windows
-------------------------------+--------------------------------------------
    Reporter:  eflister        |       Owner:               
        Type:  bug             |      Status:  new          
    Priority:  normal          |   Milestone:               
   Component:  GHCi            |     Version:  7.4.1        
    Keywords:                  |          Os:  Windows      
Architecture:  x86_64 (amd64)  |     Failure:  Runtime crash
  Difficulty:  Unknown         |    Testcase:               
   Blockedby:                  |    Blocking:               
     Related:                  |  
-------------------------------+--------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown


Old description:

> i follow the instructions here:
> https://github.com/hdbc/hdbc-postgresql/wiki/WindowsInstall
>
> and when cabal tries to link, i get:
>
> Loading package postgresql-libpq-0.8.2.1 ... ghc.exe: Unknown PEi386
> section name `.idata$4' (while processing:
> c:/PROGRA~2/POSTGR~1/9.1/lib\libpq.a)
> ghc.exe: panic! (the 'impossible' happened)
>   (GHC version 7.4.1 for i386-unknown-mingw32):
>         loadArchive "c:/PROGRA~2/POSTGR~1/9.1/lib\\libpq.a": failed
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

New description:

 i follow the instructions here:
 https://github.com/hdbc/hdbc-postgresql/wiki/WindowsInstall

 and when cabal tries to link, i get:
 {{{
 Loading package postgresql-libpq-0.8.2.1 ... ghc.exe: Unknown PEi386
 section name `.idata$4' (while processing:
 c:/PROGRA~2/POSTGR~1/9.1/lib\libpq.a)
 ghc.exe: panic! (the 'impossible' happened)
   (GHC version 7.4.1 for i386-unknown-mingw32):
         loadArchive "c:/PROGRA~2/POSTGR~1/9.1/lib\\libpq.a": failed

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

--

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



More information about the ghc-tickets mailing list