Re: [GHC] #7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name `.drectve'

2012-11-17 Thread GHC
#7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name 
`.drectve'
---+
Reporter:  songpp  |   Owner:
Type:  bug |  Status:  new   
Priority:  high|   Milestone:  7.6.2 
   Component:  GHCi| Version:  7.4.1 
Keywords:  loadArchive Unknown PEi386  |  Os:  Windows   
Architecture:  x86 | Failure:  GHCi crash
  Difficulty:  Unknown |Testcase:
   Blockedby:  3658|Blocking:
 Related:  #2487, #7103|  
---+
Changes (by igloo):

  * blockedby:  => 3658


Comment:

 This would be fixed by dynamic-by-default.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name `.drectve'

2012-09-27 Thread GHC
#7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name 
`.drectve'
---+
Reporter:  songpp  |   Owner:
Type:  bug |  Status:  new   
Priority:  high|   Milestone:  7.6.2 
   Component:  GHCi| Version:  7.4.1 
Keywords:  loadArchive Unknown PEi386  |  Os:  Windows   
Architecture:  x86 | Failure:  GHCi crash
  Difficulty:  Unknown |Testcase:
   Blockedby:  |Blocking:
 Related:  #2487, #7103|  
---+

Comment(by msieradzki):

 It also shows up (but with different unknown section) when linking with
 code built with  gcc-4.7.0 on mingw.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name `.drectve'

2012-09-21 Thread GHC
#7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name 
`.drectve'
---+
Reporter:  songpp  |   Owner:
Type:  bug |  Status:  new   
Priority:  high|   Milestone:  7.6.2 
   Component:  GHCi| Version:  7.4.1 
Keywords:  loadArchive Unknown PEi386  |  Os:  Windows   
Architecture:  x86 | Failure:  GHCi crash
  Difficulty:  Unknown |Testcase:
   Blockedby:  |Blocking:
 Related:  #2487, #7103|  
---+
Description changed by simonmar:

Old description:

> cygwin 1.7
> $ iconv --version
> iconv (GNU libiconv 1.14)
>

> E:/Develop/haskell/conv.hs :
>
> import Codec.Text.IConv as IConv
> import Data.ByteString.Lazy as ByteString
>
> main :: IO ()
> main = ByteString.interact (convert "UTF-8" "GBK")
>

> then
>
> GHCi, version 7.4.1: http://www.haskell.org/ghc/  :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... linking ... done.
> Prelude> :load "e:/Develop/haskell/conv.hs"
> [1 of 1] Compiling Main ( E:\Develop\haskell\conv.hs,
> interpreted )
> Ok, modules loaded: Main.
> *Main> main
> Loading package bytestring-0.9.2.1 ... linking ... done.
> Loading package iconv-0.4.1.0 ... ghc.exe: panic! (the 'impossible'
> happened)
>   (GHC version 7.4.1 for i386-unknown-mingw32):
> loadArchive "d:/cygwin/lib\\libiconv.a": failed
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
>
> *Main> Leaving GHCi.
> : Unknown PEi386 section name `.drectve' (while processing:
> d:/cygwin/lib\libiconv.a)

New description:

 cygwin 1.7
 {{{
 $ iconv --version
 iconv (GNU libiconv 1.14)
 }}}

 E:/Develop/haskell/conv.hs :
 {{{
 import Codec.Text.IConv as IConv
 import Data.ByteString.Lazy as ByteString

 main :: IO ()
 main = ByteString.interact (convert "UTF-8" "GBK")
 }}}

 then

 {{{
 GHCi, version 7.4.1: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> :load "e:/Develop/haskell/conv.hs"
 [1 of 1] Compiling Main ( E:\Develop\haskell\conv.hs,
 interpreted )
 Ok, modules loaded: Main.
 *Main> main
 Loading package bytestring-0.9.2.1 ... linking ... done.
 Loading package iconv-0.4.1.0 ... ghc.exe: panic! (the 'impossible'
 happened)
   (GHC version 7.4.1 for i386-unknown-mingw32):
 loadArchive "d:/cygwin/lib\\libiconv.a": failed

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

 *Main> Leaving GHCi.
 : Unknown PEi386 section name `.drectve' (while processing:
 d:/cygwin/lib\libiconv.a)
 }}}

--

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name `.drectve'

2012-09-21 Thread GHC
#7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name 
`.drectve'
---+
Reporter:  songpp  |   Owner:
Type:  bug |  Status:  new   
Priority:  high|   Milestone:  7.6.2 
   Component:  GHCi| Version:  7.4.1 
Keywords:  loadArchive Unknown PEi386  |  Os:  Windows   
Architecture:  x86 | Failure:  GHCi crash
  Difficulty:  Unknown |Testcase:
   Blockedby:  |Blocking:
 Related:  #2487, #7103|  
---+
Changes (by simonmar):

  * priority:  normal => high
  * difficulty:  => Unknown
  * related:  #2487 => #2487, #7103
  * milestone:  => 7.6.2


Comment:

 See also #7103.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name `.drectve'

2012-09-19 Thread GHC
#7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name 
`.drectve'
+---
 Reporter:  songpp  |  Owner:
 Type:  bug | Status:  new   
 Priority:  normal  |  Component:  GHCi  
  Version:  7.4.1   |   Keywords:  loadArchive Unknown PEi386
   Os:  Windows |   Architecture:  x86   
  Failure:  GHCi crash  |   Testcase:
Blockedby:  |   Blocking:
  Related:  #2487   |  
+---
Changes (by jonke):

 * cc: jonas.fager@… (added)


Comment:

 Loading package nano-md5-0.1.2 ... : Unknown PEi386 section
 name `.drectve' (while processing: C:\openssl\lib\libcrypto.a)
 ghc.exe: panic! (the 'impossible' happened)
   (GHC version 7.4.1 for i386-unknown-mingw32):
 loadArchive "C:\\openssl\\lib\\libcrypto.a": failed

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

 with openssl from http://gnuwin32.sourceforge.net/packages/openssl.htm

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name `.drectve'

2012-07-07 Thread GHC
#7056: GHCi loadArchive "libiconv.a":failed Unknown PEi386 section name 
`.drectve'
+---
 Reporter:  songpp  |  Owner:
 Type:  bug | Status:  new   
 Priority:  normal  |  Component:  GHCi  
  Version:  7.4.1   |   Keywords:  loadArchive Unknown PEi386
   Os:  Windows |   Architecture:  x86   
  Failure:  GHCi crash  |   Testcase:
Blockedby:  |   Blocking:
  Related:  #2487   |  
+---
Changes (by songpp):

 * cc: sun.april.moon@… (added)


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs