#7389 closed bug (fixed)
can't link postgresql-libpq on windows
Reported by: | eflister | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 8.0.1 |
Component: | GHCi | Version: | 7.4.1 |
Keywords: | Cc: | hvr | |
Operating System: | Windows | Architecture: | x86_64 (amd64) |
Type of failure: | Runtime crash | Test Case: | |
Blocked By: | #3658 | Blocking: | |
Related Tickets: | #9907 | Differential Rev(s): | |
Wiki Page: |
Description (last modified by )
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
Change History (8)
comment:1 Changed 6 years ago by
Component: | Build System → GHCi |
---|
comment:2 Changed 6 years ago by
Description: | modified (diff) |
---|---|
difficulty: | → Unknown |
comment:3 Changed 6 years ago by
Blocked By: | 3658 added |
---|---|
Milestone: | → 7.8.1 |
Thanks for the report.
I'm a little confused about why the ghc linker is being used in this case, but the error comes from it, so it must be.
In any case, this therefore ought to be fixed by #3658.
comment:5 Changed 4 years ago by
Blocked By: | 5987 added |
---|---|
Cc: | hvr added |
comment:6 Changed 4 years ago by
Milestone: | 7.10.1 → 7.12.1 |
---|
Moving to 7.12.1 milestone; if you feel this is an error and should be addressed sooner, please move it back to the 7.10.1 milestone.
comment:7 Changed 4 years ago by
Blocked By: | 5987 removed |
---|---|
Related Tickets: | → #9907 |
Resolution: | → fixed |
Status: | new → closed |
Already fixed in 7.10.1 by #9907
Note: See
TracTickets for help on using
tickets.
hmm, could be same as: #7103