Ticket #5735 (closed bug: fixed)

Opened 17 months ago

Last modified 17 months ago

Build failure on s390(x): Don't know if ArchUnknown is 32bit

Reported by: nomeata Owned by: simonmar
Priority: highest Milestone: 7.4.1
Component: Compiler Version: 7.3
Keywords: Cc:
Operating System: Linux Architecture: Other
Type of failure: Building GHC failed Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Hi,

the 7.4.1 release candidate failed to build on s390(x); previous versions built fine. It would be great if s390(x) support would not be dropped, if it can be helped:

"inplace/bin/ghc-stage1"   -H32m -O -lffi -optl-pthread    -package-name base-4.5.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package ghc-prim-0.2.0.0 -package integer-gmp-0.4.0.0 -package rts-1.0  -package-name base -XHaskell98 -XCPP -O2  -no-user-package-conf -rtsopts     -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/base/./GHC/Err.lhs-boot -o libraries/base/dist-install/build/GHC/Err.o-boot
ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 7.4.0.20111219 for s390-ibm-linux):
	Don't know if ArchUnknown is 32bit

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 7.4.0.20111219 for s390-ibm-linux):
	Don't know if ArchUnknown is 32bit

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

make[2]: *** [libraries/ghc-prim/dist-install/build/GHC/Types.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libraries/ghc-prim/dist-install/build/GHC/Magic.o] Error 1
ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 7.4.0.20111219 for s390-ibm-linux):
	Don't know if ArchUnknown is 32bit

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

make[2]: *** [libraries/base/dist-install/build/GHC/Err.o-boot] Error 1
ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 7.4.0.20111219 for s390-ibm-linux):
	Don't know if ArchUnknown is 32bit

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

make[2]: *** [libraries/integer-gmp/dist-install/build/GHC/Integer/GMP/Prim.o] Error 1

 https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=s390&ver=7.4.0.20111219-2&stamp=1324640606 and  https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=s390x&ver=7.4.0.20111219-2&stamp=1324642276

The s390 port is 32 bit (or is it 31? anyways, it has worked before), while the s390x port ist 64 bit.

Thanks, Joachim on behalf of the Debian Haskell Team

Attachments

0001-Note-bitness-of-S390-S390x.patch Download (1.6 KB) - added by nomeata 17 months ago.
The change as a git patch

Change History

Changed 17 months ago by nomeata

That should be #5732, sorry.

Changed 17 months ago by igloo

  • priority changed from normal to highest
  • difficulty set to Unknown
  • milestone set to 7.4.1

Changed 17 months ago by nomeata

The change as a git patch

Changed 17 months ago by simonmar

  • owner set to simonmar

Changed 17 months ago by marlowsd@…

commit 8387f0198e7a925d9d0754b2befb021ffa1307d7

Author: Simon Marlow <marlowsd@gmail.com>
Date:   Wed Jan 4 11:37:47 2012 +0000

    Store the word size as determined by configure, in the settings file (#5735)
    
    Now target32bit works for all targets without any manual intervention,
    as it should do.  #5735 was a portability regression.

 compiler/main/SysTools.lhs |    2 ++
 compiler/utils/Platform.hs |   11 ++---------
 configure.ac               |    4 ++++
 distrib/configure.ac.in    |    5 +++++
 settings.in                |    1 +
 5 files changed, 14 insertions(+), 9 deletions(-)

Changed 17 months ago by simonmar

  • status changed from new to merge

Changed 17 months ago by igloo

  • status changed from merge to closed
  • resolution set to fixed

Merged as cd0df384950a6e31a4e0e9843e907202bc6e03f9

Note: See TracTickets for help on using tickets.