[GHC] #5824: ARM StgRun register clobber list is broken

GHC cvs-ghc at haskell.org
Tue Feb 7 21:35:13 CET 2012


#5824: ARM StgRun register clobber list is broken
-------------------------------+--------------------------------------------
    Reporter:  bgamari         |       Owner:  simonmar        
        Type:  bug             |      Status:  patch           
    Priority:  high            |   Milestone:  7.4.2           
   Component:  Runtime System  |     Version:  7.4.1-rc2       
    Keywords:                  |          Os:  Unknown/Multiple
Architecture:  arm             |     Failure:  None/Unknown    
  Difficulty:  Unknown         |    Testcase:                  
   Blockedby:                  |    Blocking:                  
     Related:                  |  
-------------------------------+--------------------------------------------
Changes (by igloo):

 * cc: karel.gardas@… (added)


Comment:

 With these patches, the Debian guys found (#5849) that the build failed
 https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=armel&ver=7.4.1-1&stamp=1328355092
 :
 {{{
 "inplace/bin/ghc-stage1" -optc-Wall -optc-Wextra -optc-Wstrict-prototypes
 -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-
 Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-
 Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Irts -optc-
 Irts/dist/build -optc-DCOMPILING_RTS -optc-DUSE_LIBFFI_FOR_ADJUSTORS
 -optc-fno-strict-aliasing -optc-fno-common -optc-g -optc-O0 -optc-
 DRtsWay=\"rts_debug\" -optc-w -optc-DDEBUG  -H32m -O -lffi -optl-pthread
 -optc-mlong-calls -Iincludes -Irts -Irts/dist/build -DCOMPILING_RTS
 -package-name rts  -dcmm-lint      -i -irts -irts/dist/build
 -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen
 -c rts/StgCRun.c -o rts/dist/build/StgCRun.debug_o
 rts/StgCRun.c: In function 'StgRun':

 rts/StgCRun.c:678:1:  error: fp cannot be used in asm here
 make[2]: *** [rts/dist/build/StgCRun.debug_o] Error 1
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/build/buildd-ghc_7.4.1-1-armel-
 V2DeDU/ghc-7.4.1'
 make: *** [build-stamp] Error 2
 }}}

 Perhaps the difference is whether the LLVM compiler is being used or not?

 Regardless, we really need a solution that works for everyone.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5824#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list