#1845: unconditional relative branch out of range (GHC version 6.8.1 for
powerpc_apple_darwin)
---------------------+------------------------------------------------------
 Reporter:  guest    |          Owner:  thorkilnaur
     Type:  bug      |         Status:  new        
 Priority:  normal   |      Milestone:  6.8.3      
Component:  GHCi     |        Version:  6.8.1      
 Severity:  normal   |     Resolution:             
 Keywords:           |     Difficulty:  Unknown    
 Testcase:           |   Architecture:  powerpc    
       Os:  MacOS X  |  
---------------------+------------------------------------------------------
Comment (by maeder):

 Just adding `-mlongcall` to `extra-gcc-opts` did not help. When trying to
 compile with

 {{{
 SRC_HC_OPTS += -fvia-C
 }}}

 in `mk/build.mk` I got the following error:

 {{{
  ../compiler/ghc-inplace -H16m -O -fvia-C -optc-O2 -package-name rts
 -static -I../gmp/gmpbuild -I. -#include HCIncludes.h -dcmm-lint     -c
 Apply.cmm -o Apply.o
 /tmp/ghc24169_0/ghc24169_0.s:unknown:Undefined local symbol
 L___DISCARD__$stub
 make[1]: *** [Apply.o] Error 1
 make: *** [stage1] Error 1
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1845#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to