#5808: nofib/spectral/hartel/transform is crashing with -fllvm
--------------------------------+-------------------------------------------
    Reporter:  simonmar         |       Owner:  dterei                         
        Type:  bug              |      Status:  new                            
    Priority:  high             |   Milestone:  7.4.2                          
   Component:  Compiler (LLVM)  |     Version:  7.4.1-rc1                      
    Keywords:                   |          Os:  Linux                          
Architecture:  x86              |     Failure:  Runtime crash                  
  Difficulty:  Unknown          |    Testcase:  nofib/spectral/hartel/transform
   Blockedby:                   |    Blocking:                                 
     Related:                   |  
--------------------------------+-------------------------------------------

Comment(by simonmar):

 Yup, still happening here.

 {{{
 $ uname -a
 Linux cam-02-unx 2.6.32-28-generic-pae #55-Ubuntu SMP Mon Jan 10 22:34:08
 UTC 2011 i686 GNU/Linux
 $ llvmc --version
 Low Level Virtual Machine (http://llvm.org/):
   llvm version 2.7 ( 2.7-0ubuntu1)
   Optimized build.
   Built Apr 28 2010 (14:16:19).
   Host: i386-pc-linux-gnu
   Host CPU: pentium4

   Registered Targets:
     (none)
 }}}

 This `build.mk` should do it:

 {{{
 GhcStage1HcOpts = -H64m -O
 GhcStage2HcOpts = -H64m -O2
 GhcLibWays = v
 GhcLibHcOpts = -H32m -O2 -dcore-lint
 StripLibraries = YES
 SplitObjs = YES

 SRC_HC_OPTS +=
 EXTRA_PACKAGES =
 HaveLibGmp = NO

 NoFibHcOpts =  -rtsopts -O2 -fllvm
 NoFibSubDirs = imaginary spectral real
 NoFibWays =
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5808#comment:4>
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