[GHC] #2012: compiling via-C does not work on ppc

GHC trac at galois.com
Wed Jan 2 07:54:01 EST 2008


#2012: compiling via-C does not work on ppc
-------------------------+--------------------------------------------------
    Reporter:  maeder    |       Owner:         
        Type:  bug       |      Status:  new    
    Priority:  normal    |   Milestone:         
   Component:  Compiler  |     Version:  6.8.2  
    Severity:  normal    |    Keywords:         
  Difficulty:  Unknown   |    Testcase:         
Architecture:  powerpc   |          Os:  MacOS X
-------------------------+--------------------------------------------------
 building ghc-6.8.2 on ppc Mac OS X 10.4 (Tiger) with "`SRC_HC_OPTS +=
 -fvia-C`" (see #1845) yields:

 {{{
 ../compiler/ghc-inplace -H16m -O -fvia-C -keep-tmp-files -optc-O2
 -package-name rts -static -I../gmp/gmpbuild -I. -#include HCIncludes.h
 -dcmm-lint     -c Apply.cmm -o Apply.o
 /tmp/ghc24131_0/ghc24131_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/2012>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list