Ticket #7125 (closed bug: duplicate)

Opened 10 months ago

Last modified 10 months ago

HEAD build fails with ghc-7.4.1 (XCode 3.2.6, Mac OS X 10.6.8)

Reported by: jff Owned by: simonmar
Priority: normal Milestone:
Component: Compiler Version: 7.4.2
Keywords: Cc:
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: Building GHC failed Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets: #5484

Description

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.

Change History

Changed 10 months ago by simonmar

  • owner set to simonmar
  • difficulty set to Unknown

Probably a dup of #7119

Changed 10 months ago by simonmar

  • status changed from new to closed
  • resolution set to duplicate
Note: See TracTickets for help on using tickets.