
#8205: the 'impossible' happened : expectJust block_order ----------------------------------------+---------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by erikd): Replying to [comment:8 jstolarek]:
if I revert commit d61c3ac186c94021c851f7a2a6d20631e35fc1ba the stage1 build completes and then fails during the stage2 build.
This is most strange. If stage2 fails after reverting that commit this would mean that you are experiencing some other bug.
Yes, this is another probably unrelated bug.
Did you clean the build tree after reverting the commit?
Yes.
Also, how does stage2 fail? What error do you get?
{{{ "inplace/bin/ghc-stage2" -optc-Werror -optc-Wall -optc-Ilibraries/old- time/include -optc-I'/home/erikd/PPC64/ghc-ppc64/libraries/base/include' -optc-I'/home/erikd/PPC64/ghc-ppc64/rts/dist/build' -optc-I'/home/erikd/PPC64/ghc-ppc64/includes' -optc-I'/home/erikd/PPC64/ghc-ppc64/includes/dist- derivedconstants/header' -optc-Werror=unused-but-set-variable -optc-Wno-error=inline -fPIC -dynamic -H32m -O -Werror -Wall -H64m -O0 -package-name old-time-1.1.0.1 -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.5 -XHaskell98 -XCPP -XForeignFunctionInterface -O2 -O -dcore-lint -fno-warn-deprecated-flags -no-user-package-db -rtsopts -c libraries/old- time/cbits/timeUtils.c -o libraries/old-time/dist-install/build/cbits/timeUtils.dyn_o Segmentation fault make[1]: *** [libraries/old-time/dist-install/build/cbits/timeUtils.dyn_o] Error 139 }}} THis is actually the first command run using the second stage compiler. It builds the non dynamic timeUtils.o object successfully and when it builds timeUtils.dyn_o I get this segfault. I'm going to try and build without dyn. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8205#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler