Opened 7 years ago

Closed 7 years ago

#5901 closed bug (fixed)

Unregisterised build fails in GHC.PrimopWrappers

Reported by: simonmar Owned by: igloo
Priority: highest Milestone: 7.6.1
Component: Compiler Version: 7.5
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

This appears to be a problem with the new 2-result primops:

/tmp/ghc13519_0/ghc13519_0.hc: In function ‘ghczmprim_GHCziPrimopWrappers_timesWord2zh_entry’:

/tmp/ghc13519_0/ghc13519_0.hc:6443:0:
     error: ‘_c1aU’ undeclared (first use in this function)

/tmp/ghc13519_0/ghc13519_0.hc:6443:0:
     error: (Each undeclared identifier is reported only once

/tmp/ghc13519_0/ghc13519_0.hc:6443:0:
     error: for each function it appears in.)

/tmp/ghc13519_0/ghc13519_0.hc:6444:0:
     error: ‘_c1aW’ undeclared (first use in this function)

/tmp/ghc13519_0/ghc13519_0.hc:6445:0:
     error: ‘_c1aY’ undeclared (first use in this function)

/tmp/ghc13519_0/ghc13519_0.hc:6446:0:
     error: ‘_c1b0’ undeclared (first use in this function)
/tmp/ghc13519_0/ghc13519_0.hc: In function ‘ghczmprim_GHCziPrimopWrappers_plusWord2zh_entry’:

/tmp/ghc13519_0/ghc13519_0.hc:6509:0:
     error: ‘_c1bm’ undeclared (first use in this function)

/tmp/ghc13519_0/ghc13519_0.hc:6510:0:
     error: ‘_c1bo’ undeclared (first use in this function)
make[1]: *** [libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.o] Error 1

Change History (2)

comment:1 Changed 7 years ago by igloo@…

commit 2304a36272531fd20f163b6f378e417dc351aa25

Author: Ian Lynagh <igloo@earth.li>
Date:   Mon Feb 27 22:03:39 2012 +0000

    Fix the unregisterised build; fixes #5901

 compiler/cmm/CmmExpr.hs                 |    4 ++++
 compiler/cmm/CmmLint.hs                 |   12 ++++++++----
 compiler/cmm/CmmOpt.hs                  |    5 +++--
 compiler/cmm/OldCmm.hs                  |    6 +++---
 compiler/cmm/PprC.hs                    |   14 ++++++++++----
 compiler/codeGen/CgPrimOp.hs            |   16 ++++------------
 compiler/codeGen/CgUtils.hs             |    3 ++-
 compiler/llvmGen/LlvmCodeGen/CodeGen.hs |   11 ++++++-----
 compiler/nativeGen/AsmCodeGen.lhs       |    6 +++++-
 compiler/nativeGen/PPC/CodeGen.hs       |    6 +++---
 compiler/nativeGen/SPARC/CodeGen.hs     |    6 +++---
 compiler/nativeGen/X86/CodeGen.hs       |    8 ++++----
 12 files changed, 55 insertions(+), 42 deletions(-)

comment:2 Changed 7 years ago by igloo

Resolution: fixed
Status: newclosed
Version: 7.4.17.5
Note: See TracTickets for help on using tickets.