Opened 16 months ago

Last modified 15 months ago

#15199 infoneeded bug

Build fails on Debian armhf (armv7l-unknown-linux-gnueabihf)

Reported by: clint Owned by:
Priority: normal Milestone: 8.4.4
Component: Compiler Version: 8.4.3
Keywords: Cc:
Operating System: Linux Architecture: arm
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

"inplace/bin/ghc-stage1" -static  -H32m -O -lffi -optl-pthread -optl-B/usr/bin/ld.gold -D__ARM_PCS_VFP -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -dcmm-lint      -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef    -Wnoncanonical-monad-instances  -c rts/StgStartup.cmm -o rts/dist/build/StgStartup.o
ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 8.4.2 for arm-unknown-linux):
	Failed to lookup the datalayout for armv7l-unknown-linux-gnueabihf; available targets: ["i386-unknown-windows","i686-unknown-windows","x86_64-unknown-windows","arm-unknown-linux-gnueabihf","armv6-unknown-linux-gnueabihf","armv7-unknown-linux-gnueabihf","aarch64-unknown-linux-gnu","aarch64-unknown-linux","armv7a-unknown-linux-gnueabi","i386-unknown-linux-gnu","i386-unknown-linux","x86_64-unknown-linux-gnu","x86_64-unknown-linux","armv7-unknown-linux-androideabi","aarch64-unknown-linux-android","arm-unknown-nto-qnx-eabi","i386-apple-darwin","x86_64-apple-darwin","armv7-apple-ios","aarch64-apple-ios","i386-apple-ios","x86_64-apple-ios"]
CallStack (from HasCallStack):
  error, called at compiler/llvmGen/LlvmCodeGen.hs:96:24 in ghc:LlvmCodeGen

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

rts/ghc.mk:295: recipe for target 'rts/dist/build/StgStartup.o' failed

https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=armhf&ver=8.4.2-1&stamp=1525310160&raw=0

Change History (4)

comment:2 Changed 16 months ago by bgamari

Status: newinfoneeded

I'm pretty sure this is fixed in master although it would be great to have confirmation.

comment:3 Changed 16 months ago by clint

Version: 8.4.28.4.3

master not yet tested, but backporting e4003b6dc6a84d870116de9f47057c15b1576f36 to 8.4.3 results in

utils/haddock/ghc.mk:20: recipe for target 'utils/haddock/dist/build/Haddock/GhcUtils.dyn_o' failed
make[3]: *** [utils/haddock/dist/build/Haddock/GhcUtils.dyn_o] Illegal instruction
make[3]: *** Waiting for unfinished jobs....
utils/haddock/ghc.mk:20: recipe for target 'utils/haddock/dist/build/ResponseFile.dyn_o' failed
make[3]: *** [utils/haddock/dist/build/ResponseFile.dyn_o] Illegal instruction
utils/haddock/ghc.mk:20: recipe for target 'utils/haddock/dist/build/Haddock/Backends/Hyperlinker/Types.dyn_o' failed
make[3]: *** [utils/haddock/dist/build/Haddock/Backends/Hyperlinker/Types.dyn_o] Illegal instruction
utils/haddock/ghc.mk:20: recipe for target 'utils/haddock/dist/build/Documentation/Haddock/Types.dyn_o' failed
make[3]: *** [utils/haddock/dist/build/Documentation/Haddock/Types.dyn_o] Illegal instruction
Makefile:122: recipe for target 'all' failed

https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=armhf&ver=8.4.3-1&stamp=1528031879&raw=0

comment:4 Changed 15 months ago by clint

Architecture: Unknown/Multiplearm
Operating System: Unknown/MultipleLinux
Type of failure: None/UnknownBuilding GHC failed
Note: See TracTickets for help on using tickets.