Re: [GHC] #5743: Configurably use system-provided libffi

2012-04-14 Thread GHC
#5743: Configurably use system-provided libffi
-+--
Reporter:  nomeata   |   Owner:  
Type:  feature request   |  Status:  new 
Priority:  normal|   Milestone:  7.6.1   
   Component:  Build System  | Version:  7.2.1   
Keywords:|  Os:  Linux   
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--
Changes (by slyfox):

 * cc: slyfox@… (added)


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

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #6007: ghci: Importing specific non-existent names from a module breaks later imports

2012-04-14 Thread GHC
#6007: ghci: Importing specific non-existent names from a module breaks later
imports
--+-
 Reporter:  josh  |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Component:  Compiler
  Version:  7.4.1 |   Keywords:  
   Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown  |   Testcase:  
Blockedby:|   Blocking:  
  Related:|  
--+-
 At the ghci prompt, attempting to import specific non-existent names from
 a module breaks any future import attempts, causing them to fail with the
 same error message that the original import failed with (in addition to
 any error message they generate themselves).  For example:

 {{{
 Prelude import System.IO(foo)

 interactive:1:18: Module `System.IO' does not export `foo'
 Prelude import Control.Monad.Error

 interactive:1:18: Module `System.IO' does not export `foo'
 }}}

 Or compounding the problem:

 {{{
 Prelude import System.IO(foo)

 interactive:1:18: Module `System.IO' does not export `foo'
 Prelude import Control.Monad.Error(foo)

 interactive:1:18: Module `System.IO' does not export `foo'

 interactive:1:28:
 Module `Control.Monad.Error' does not export `foo'
 Prelude import Control.Monad.Error

 interactive:1:18: Module `System.IO' does not export `foo'
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6007
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5743: Configurably use system-provided libffi

2012-04-14 Thread GHC
#5743: Configurably use system-provided libffi
-+--
Reporter:  nomeata   |   Owner:  
Type:  feature request   |  Status:  new 
Priority:  normal|   Milestone:  7.6.1   
   Component:  Build System  | Version:  7.2.1   
Keywords:|  Os:  Linux   
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
  Difficulty:  Unknown   |Testcase:  
   Blockedby:|Blocking:  
 Related:|  
-+--

Comment(by slyfox):

 Moreover, ghc does not embed RPATH to libffi for packages using it:

 {{{
 sf haskell-updater-1.2.0.5 # /usr/bin/ghc -package Cabal-1.14.0 --make
 /var/tmp/portage/app-admin/haskell-updater-1.2.0.5-r1/work/haskell-
 updater-1.2.0.5/Setup.lhs -dynamic -o setup
 Linking setup ...
 sf haskell-updater-1.2.0.5 # lddtree ./setup
 setup = ./setup (interpreter = /lib64/ld-linux-x86-64.so.2)
 libHSCabal-1.14.0-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/Cabal-1.14.0/libHSCabal-1.14.0-ghc7.4.1.so
 libHSprocess-1.1.0.1-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/process-1.1.0.1/libHSprocess-1.1.0.1-ghc7.4.1.so
 libHSpretty-1.1.1.0-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/pretty-1.1.1.0/libHSpretty-1.1.1.0-ghc7.4.1.so
 libHSdirectory-1.1.0.2-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/directory-1.1.0.2/libHSdirectory-1.1.0.2-ghc7.4.1.so
 libHSunix-2.5.1.0-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/unix-2.5.1.0/libHSunix-2.5.1.0-ghc7.4.1.so
 librt.so.1 = /lib64/librt.so.1
 libpthread.so.0 = /lib64/libpthread.so.0
 libutil.so.1 = /lib64/libutil.so.1
 libdl.so.2 = /lib64/libdl.so.2
 libHSbytestring-0.9.2.1-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/bytestring-0.9.2.1/libHSbytestring-0.9.2.1-ghc7.4.1.so
 libHSold-time-1.1.0.0-ghc7.4.1.so = /usr/lib64/ghc-7.4.1/old-
 time-1.1.0.0/libHSold-time-1.1.0.0-ghc7.4.1.so
 libHSold-locale-1.0.0.4-ghc7.4.1.so = /usr/lib64/ghc-7.4.1/old-
 locale-1.0.0.4/libHSold-locale-1.0.0.4-ghc7.4.1.so
 libHSfilepath-1.3.0.0-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/filepath-1.3.0.0/libHSfilepath-1.3.0.0-ghc7.4.1.so
 libHScontainers-0.4.2.1-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/containers-0.4.2.1/libHScontainers-0.4.2.1-ghc7.4.1.so
 libHSdeepseq-1.3.0.0-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/deepseq-1.3.0.0/libHSdeepseq-1.3.0.0-ghc7.4.1.so
 libHSarray-0.4.0.0-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/array-0.4.0.0/libHSarray-0.4.0.0-ghc7.4.1.so
 libHSbase-4.5.0.0-ghc7.4.1.so =
 /usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0-ghc7.4.1.so
 libHSinteger-gmp-0.4.0.0-ghc7.4.1.so = /usr/lib64/ghc-7.4.1/integer-
 gmp-0.4.0.0/libHSinteger-gmp-0.4.0.0-ghc7.4.1.so
 libgmp.so.10 = /usr/lib64/libgmp.so.10
 libHSghc-prim-0.2.0.0-ghc7.4.1.so = /usr/lib64/ghc-7.4.1/ghc-
 prim-0.2.0.0/libHSghc-prim-0.2.0.0-ghc7.4.1.so
 libHSrts-ghc7.4.1.so = /usr/lib64/ghc-7.4.1/libHSrts-ghc7.4.1.so
 libffi.so.5 = not found
 libm.so.6 = /lib64/libm.so.6
 libc.so.6 = /lib64/libc.so.6
 }}}

 Notice '''libffi.so.5 = not found'''.
 {{{
 sf haskell-updater-1.2.0.5 # ls -l /usr/lib/ghc-7.4.1/libffi.so*
 -rwxr-xr-x 1 root root 30832 апр.  14 21:20 /usr/lib/ghc-7.4.1/libffi.so
 -rw-r--r-- 1 root root 30832 апр.  14 21:20 /usr/lib/ghc-7.4.1/libffi.so.5
 -rw-r--r-- 1 root root 30832 апр.  14 21:19
 /usr/lib/ghc-7.4.1/libffi.so.5.0.10
 sf haskell-updater-1.2.0.5 # ls -l /usr/lib/libffi.so*
 lrwxrwxrwx 1 root root15 апр.  14 11:53 /usr/lib/libffi.so -
 libffi.so.6.0.0
 lrwxrwxrwx 1 root root15 апр.  14 11:53 /usr/lib/libffi.so.6 -
 libffi.so.6.0.0
 -rwxr-xr-x 1 root root 30816 апр.  14 11:53 /usr/lib/libffi.so.6.0.0
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5743#comment:3
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #6008: ghc: panic! (the 'impossible' happened)

2012-04-14 Thread GHC
#6008: ghc: panic! (the 'impossible' happened)
--+-
 Reporter:  jtb   |  Owner:  
 Type:  bug   | Status:  new 
 Priority:  normal|  Component:  Compiler
  Version:  7.4.1 |   Keywords:  
   Os:  Linux |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown  |   Testcase:  
Blockedby:|   Blocking:  
  Related:|  
--+-
 Hello,

 I get the following output in ghci ordering me to report this bug:

 {{{

 Prelude :load keltis_typedefs.hs
 [1 of 1] Compiling Main ( keltis_typedefs.hs, interpreted )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.4.1 for x86_64-unknown-linux):
 nameModule eq{tv a9U}
 }}}

 I'll attach the file I was trying to load (don't laugh, I was just
 experimenting with Haskell).

 Best regards  thank you,

 Tobias

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6008
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #6008: ghc: panic! (the 'impossible' happened)

2012-04-14 Thread GHC
#6008: ghc: panic! (the 'impossible' happened)
--+-
 Reporter:  jtb   |  Owner:
 Type:  bug   | Status:  new   
 Priority:  normal|  Component:  Compiler  
  Version:  7.4.1 |   Keywords:
   Os:  Linux |   Architecture:  x86_64 (amd64)
  Failure:  None/Unknown  |   Testcase:
Blockedby:|   Blocking:
  Related:|  
--+-
Changes (by jtb):

  * architecture:  Unknown/Multiple = x86_64 (amd64)


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6008#comment:1
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs