[GHC] #12075: Fails to build on powerpcspe because of inline assembly

GHC ghc-devs at haskell.org
Mon May 8 07:19:07 UTC 2017


#12075: Fails to build on powerpcspe because of inline assembly
----------------------------------------+----------------------------------
        Reporter:  glaubitz             |                Owner:  (none)
            Type:  bug                  |               Status:  infoneeded
        Priority:  normal               |            Milestone:  8.4.1
       Component:  Build System         |              Version:  8.0.1
      Resolution:                       |             Keywords:
Operating System:  Linux                |         Architecture:  powerpc
 Type of failure:  Building GHC failed  |            Test Case:
      Blocked By:                       |             Blocking:
 Related Tickets:                       |  Differential Rev(s):  Phab:D3540
       Wiki Page:                       |
----------------------------------------+----------------------------------
Changes (by trommler):

 * status:  patch => infoneeded


Comment:

 Replying to [comment:15 bgamari]:
 >
 Note: Phab:D3540 does not fix @glaubitz' issue in this ticket but fixes a
 bug that I discovered while I investigated the bug on powerpc64le Linux.
 AIX is also affected by the same bug, I think.

 As I said in comment:11 no inline assembly from `StgCRun.c` nor any code
 from `StgCRunAsm.S` should be passed to the assembler on a powerpc
 (32-bit) configured with `--enable-unregsisterised`.

 I also don't understand why `HeapStackCheck.cmm` fails. It does not
 contain any inline assembly. I wonder whether ghc does not pass the
 options required for @glaubitz' system (soft float implementation) to gcc.

 I set status `infoneeded` again while we are waiting for the input
 requested in comment:11 and comment:14.

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


More information about the ghc-tickets mailing list