#7267: linux-ppc64: Segfault during stage2 build
---------------------------------+------------------------------------------
 Reporter:  erikd                |          Owner:           
     Type:  bug                  |         Status:  new      
 Priority:  normal               |      Component:  Compiler 
  Version:  7.7                  |       Keywords:           
       Os:  Linux                |   Architecture:  powerpc64
  Failure:  Building GHC failed  |       Testcase:           
Blockedby:                       |       Blocking:           
  Related:                       |  
---------------------------------+------------------------------------------
 Build segfaults during the command:

 {{{
 inplace/lib/ghc-stage2 -H32m -O -Werror -Wall -H64m -O0 -hide-all-packages
 -i \
 -iutils/haddock/src -iutils/haddock/dist/build
 -iutils/haddock/dist/build/autogen \
 -Iutils/haddock/dist/build -Iutils/haddock/dist/build/autogen -optP-
 DIN_GHC_TREE \
 -optP-include -optPutils/haddock/dist/build/autogen/cabal_macros.h
 -package Cabal-1.17.0 \
 -package array-0.4.0.1 -package base-4.6.0.0 -package containers-0.5.0.0
 -package \
 directory-1.2.0.0 -package filepath-1.3.0.1 -package ghc-7.7.20120921
 -package \
 pretty-1.1.1.0 -package xhtml-3000.2.1 -package deepseq-1.3.0.1 -funbox-
 strict-fields \
 -O2 -Wall -fwarn-tabs -XHaskell2010 -XCPP -XDeriveDataTypeable
 -XScopedTypeVariables \
 -XMagicHash -no-user-package-db -rtsopts -odir utils/haddock/dist/build
 -hidir \
 utils/haddock/dist/build -stubdir utils/haddock/dist/build -hisuf hi -osuf
 o -hcsuf hc \
 -c utils/haddock/src/Haddock/GhcUtils.hs -o
 utils/haddock/dist/build/Haddock/GhcUtils.o
 }}}

 Running under GDB and grabbing backtrace results in:

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 0x00000000136d1cf8 in .StgRun ()
 (gdb) bt
 #0  0x00000000136d1cf8 in .StgRun ()
 #1  0x00000000136cd7a0 in .schedule ()
 #2  0x00000000136cea2c in .scheduleWaitThread ()
 #3  0x00000000137066fc in .rts_evalLazyIO ()
 #4  0x00000000136c8ed8 in .real_main ()
 #5  0x00000000136c9078 in .hs_main ()
 #6  0x000000001002b358 in .main ()
 }}}

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

Reply via email to