#4860: Text.Regex crasher
---------------------------+------------------------------------------------
 Reporter:  batkins        |          Owner:                
     Type:  bug            |         Status:  new           
 Priority:  normal         |      Component:  libraries/base
  Version:  7.0.1          |     Resolution:                
 Keywords:  regex crash    |       Testcase:                
Blockedby:                 |             Os:  MacOS X       
 Blocking:                 |   Architecture:  x86           
  Failure:  Runtime crash  |  
---------------------------+------------------------------------------------

Comment(by maeder):

 I could fix the problem by reinstalling all my local packages using a
 local 32bit-gcc that is used by cabal. (I suppose, ghc sets the "-m32"
 flag automatically.) I had to do this trick already when installing
 gtk2hs. I'll search for a ticket.

 My local gcc looks as follows:

 {{{
 m18:bin maeder$ cat gcc
 #!/bin/sh
 /usr/bin/gcc -m32 $@
 }}}

 My packages are:

 {{{
 m18:bin maeder$ ghc-pkg list
 /Users/Shared/maeder/lib/ghc-7.0.1.20101215/package.conf.d
    Cabal-1.10.1.0
    array-0.3.0.2
    base-4.3.1.0
    bin-package-db-0.0.0.0
    bytestring-0.9.1.8
    containers-0.4.0.0
    directory-1.1.0.0
    extensible-exceptions-0.1.1.2
    ffi-1.0
    filepath-1.2.0.0
    ghc-7.0.1.20101215
    ghc-binary-0.5.0.2
    ghc-prim-0.2.0.0
    haskell2010-1.0.0.0
    haskell98-1.1.0.1
    hpc-0.5.0.6
    integer-gmp-0.2.0.3
    old-locale-1.0.0.2
    old-time-1.0.0.6
    pretty-1.0.1.2
    process-1.0.1.5
    random-1.0.0.3
    rts-1.0
    template-haskell-2.5.0.0
    time-1.2.0.3
    unix-2.4.1.0
 /home/maeder/.ghc/i386-darwin-7.0.1.20101215/package.conf.d
    HUnit-1.2.2.3
    MissingH-1.1.0.3
    hslogger-1.1.0
    mtl-2.0.1.0
    network-2.3
    parsec-2.1.0.1
    regex-base-0.93.2
    regex-compat-0.93.1
    regex-posix-0.94.4
    transformers-0.2.2.0
 }}}

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

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

Reply via email to