#7125: HEAD build fails with ghc-7.4.1 (XCode 3.2.6, Mac OS X 10.6.8)
---------------------------------+------------------------------------------
 Reporter:  jff                  |          Owner:                
     Type:  bug                  |         Status:  new           
 Priority:  normal               |      Component:  Compiler      
  Version:  7.4.2                |       Keywords:                
       Os:  MacOS X              |   Architecture:  x86_64 (amd64)
  Failure:  Building GHC failed  |       Testcase:                
Blockedby:                       |       Blocking:                
  Related:  #5484                |  
---------------------------------+------------------------------------------
 On my Mac OS X 10.6.8, building HEAD with ghc-7.2.1 as bootstrapping
 compiler fails with a segfault when stage1 compiles GHC.Debug:

 {{{
 make -r --no-print-directory -f ghc.mk phase=final all
   HC [stage 1] libraries/ghc-prim/dist-install/build/GHC/Debug.o

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__2.s:31:0:
     section difference relocatable subtraction expression, "_s5A_info"
 minus "_s5A_info_dsp" using a symbol at the end of section will not
 produce an assembly time constant

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__2.s:31:0:
     use a symbol with a constant value created with an assignment instead
 of the expression, L_const_sym = _s5A_info - _s5A_info_dsp

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__3.s:23:0:
     section difference relocatable subtraction expression, "_s87_info"
 minus "_s87_info_dsp" using a symbol at the end of section will not
 produce an assembly time constant

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__3.s:23:0:
     use a symbol with a constant value created with an assignment instead
 of the expression, L_const_sym = _s87_info - _s87_info_dsp

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__4.s:18:0:
     section difference relocatable subtraction expression,
 "_ghczmprim_GHCziDebug_debugLn_info" minus
 "_ghczmprim_GHCziDebug_debugLn_info_dsp" using a symbol at the end of
 section will not produce an assembly time constant

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__4.s:18:0:
     use a symbol with a constant value created with an assignment instead
 of the expression, L_const_sym = _ghczmprim_GHCziDebug_debugLn_info -
 _ghczmprim_GHCziDebug_debugLn_info_dsp

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__5.s:23:0:
     section difference relocatable subtraction expression, "_s8E_info"
 minus "_s8E_info_dsp" using a symbol at the end of section will not
 produce an assembly time constant

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__5.s:23:0:
     use a symbol with a constant value created with an assignment instead
 of the expression, L_const_sym = _s8E_info - _s8E_info_dsp

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__6.s:18:0:
     section difference relocatable subtraction expression,
 "_ghczmprim_GHCziDebug_debugErrLn_info" minus
 "_ghczmprim_GHCziDebug_debugErrLn_info_dsp" using a symbol at the end of
 section will not produce an assembly time constant


 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__4.s:18:0:
     use a symbol with a constant value created with an assignment instead
 of the expression, L_const_sym = _ghczmprim_GHCziDebug_debugLn_info -
 _ghczmprim_GHCziDebug_debugLn_info_dsp

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__5.s:23:0:
     section difference relocatable subtraction expression, "_s8E_info"
 minus "_s8E_info_dsp" using a symbol at the end of section will not
 produce an assembly time constant

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__5.s:23:0:
     use a symbol with a constant value created with an assignment instead
 of the expression, L_const_sym = _s8E_info - _s8E_info_dsp

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__6.s:18:0:
     section difference relocatable subtraction expression,
 "_ghczmprim_GHCziDebug_debugErrLn_info" minus
 "_ghczmprim_GHCziDebug_debugErrLn_info_dsp" using a symbol at the end of
 section will not produce an assembly time constant

 
/var/folders/8m/8mBmDxdeELCM2EPVNLJL2k+++TI/-Tmp-/ghc46580_0/ghc46580_0.split__6.s:18:0:
     use a symbol with a constant value created with an assignment instead
 of the expression, L_const_sym = _ghczmprim_GHCziDebug_debugErrLn_info -
 _ghczmprim_GHCziDebug_debugErrLn_info_dsp
 collect2: ld terminated with signal 11 [Segmentation fault]
 make[1]: *** [libraries/ghc-prim/dist-install/build/GHC/Debug.o] Error 1
 make: *** [all] Error 2
 }}}

 This seems to be similar to #5484, but adding -fno-full-laziness doesn't
 fix the problem.

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