[GHC] #8661: Segfault on System.Time during validate

GHC ghc-devs at haskell.org
Fri Jan 10 08:29:04 UTC 2014


#8661: Segfault on System.Time during validate
----------------------------+-------------------------------------
       Reporter:  Fuuzetsu  |             Owner:
           Type:  bug       |            Status:  new
       Priority:  normal    |         Milestone:
      Component:  Compiler  |           Version:  7.7
       Keywords:            |  Operating System:  Unknown/Multiple
   Architecture:  x86       |   Type of failure:  None/Unknown
     Difficulty:  Unknown   |         Test Case:
     Blocked By:            |          Blocking:
Related Tickets:            |
----------------------------+-------------------------------------
 I was running ‘sh validate’ today (commit
 d4f0fcf368765ae4aa7ebe914bc2f254026694c8) and I ended up with this error:

 {{{
 cat ghc/ghc.wrapper                                     >> inplace/bin
 /ghc-stage2
 chmod +x                                                     inplace/bin
 /ghc-stage2
 "inplace/bin/ghc-stage2" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O
 -Werror -Wall -H64m -O0    -package-name old-time-1.1.0.2 -hide-all-
 packages -i -ilibraries/old-time/. -ilibraries/old-time/dist-install/build
 -ilibraries/old-time/dist-install/build/autogen -Ilibraries/old-time/dist-
 install/build -Ilibraries/old-time/dist-install/build/autogen -Ilibraries
 /old-time/include    -optP-include -optPlibraries/old-time/dist-
 install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package old-
 locale-1.0.0.6 -Wall -XHaskell2010 -O2 -O -dcore-lint -fno-warn-amp  -fno-
 warn-deprecated-flags  -no-user-package-db -rtsopts      -odir libraries
 /old-time/dist-install/build -hidir libraries/old-time/dist-install/build
 -stubdir libraries/old-time/dist-install/build  -dynamic-too -c libraries
 /old-time/dist-install/build/System/Time.hs -o libraries/old-time/dist-
 install/build/System/Time.o -dyno libraries/old-time/dist-
 install/build/System/Time.dyn_o
 gmake[1]: *** [libraries/old-time/dist-install/build/System/Time.o]
 Segmentation fault
 gmake[1]: *** Waiting for unfinished jobs....
 Writing docs/users_guide/users_guide/ix01.html for index
 Writing docs/users_guide/users_guide/index.html for book(users-guide)
 cp mk/fptools.css docs/users_guide/users_guide/
 gmake: *** [all] Error 2
 }}}

 It built fine when I ran validate just the other day (at least after
 commit 32002b3dfdfd6a3c6a1a1eb52d8a257b42e17e51).

 32-bit Linux
 Linux misaki 3.12.3-gentoo `#2` SMP Sat Dec 7 23:14:57 GMT 2013 i686
 Intel(R) Core(TM)2 Duo CPU L7700 @ 1.80GHz GenuineIntel GNU/Linux

 Attaching full build log. This is a tree without any local changes.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8661>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list