#7248: Error building integer-gmp using stage1 HEAD on OS X
---------------------------------+------------------------------------------
 Reporter:  darchon              |          Owner:          
     Type:  bug                  |         Status:  new     
 Priority:  normal               |      Component:  Compiler
  Version:  7.7                  |       Keywords:          
       Os:  MacOS X              |   Architecture:  x86     
  Failure:  Building GHC failed  |       Testcase:          
Blockedby:                       |       Blocking:          
  Related:                       |  
---------------------------------+------------------------------------------
 When building HEAD I get the following error:

 make -r --no-print-directory -f ghc.mk phase=final all
   HC [stage 1] libraries/integer-gmp/dist-install/build/GHC/Integer/Type.o

 
/var/folders/ka/kaF7CETOGrynlpfcm3Ojdk++06g/-Tmp-/ghc91903_0/ghc91903_0.split__51.s:29:0:
     non-relocatable subtraction expression,
 "_integerzmgmp_GHCziIntegerziType_S3Dk_srt" minus "_c3Co_info"

 
/var/folders/ka/kaF7CETOGrynlpfcm3Ojdk++06g/-Tmp-/ghc91903_0/ghc91903_0.split__51.s:29:0:
     symbol: "_integerzmgmp_GHCziIntegerziType_S3Dk_srt" can't be undefined
 in a subtraction expression

 
/var/folders/ka/kaF7CETOGrynlpfcm3Ojdk++06g/-Tmp-/ghc91903_0/ghc91903_0.split__51.s:14:0:
     non-relocatable subtraction expression,
 "_integerzmgmp_GHCziIntegerziType_S3Dk_srt" minus
 "_integerzmgmp_GHCziIntegerziType_negateInteger_info"

 
/var/folders/ka/kaF7CETOGrynlpfcm3Ojdk++06g/-Tmp-/ghc91903_0/ghc91903_0.split__51.s:14:0:
     symbol: "_integerzmgmp_GHCziIntegerziType_S3Dk_srt" can't be undefined
 in a subtraction expression
 make[1]: *** [libraries/integer-gmp/dist-install/build/GHC/Integer/Type.o]
 Error 1
 make: *** [all] Error 2

 Indeed, the symbol/label is not defined in the generated assembly (no
 .globl declaration)

 When building with object splitting disabled ("SplitObjs = NO" in
 build.mk) the error does not occur.

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