Description of problem: ghc 9.2.5 fails to build on armv7hl. With default -j, ghc-pkg recache crashes. Even with make -j1, it failed with a compilation error after 11 hours. Here are some f36 scratch builds (via: koji-tool tasks -M -a armv7hl -s fail): [they were all quick builds except the original last one] (11h 2m) https://koji.fedoraproject.org/koji/taskinfo?taskID=94056026 (make -j1) "inplace/bin/ghc-stage2" -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -H32m -O -Wall -hide-all-packages -package-env - -i -iutils/check-ppr/. -iutils/check-ppr/dist-install/build -Iutils/check-ppr/dist-install/build -iutils/check-ppr/dist-install/build/check-ppr/autogen -Iutils/check-ppr/dist-install/build/check-ppr/autogen -optP-include -optPutils/check-ppr/dist-install/build/check-ppr/autogen/cabal_macros.h -package-id Cabal-3.6.3.0 -package-id base-4.16.4.0 -package-id bytestring-0.11.3.1 -package-id containers-0.6.5.1 -package-id directory-1.3.6.2 -package-id filepath-1.4.2.2 -package-id ghc-9.2.5 -Wall -XHaskell2010 -no-user-package-db -rtsopts -Wnoncanonical-monad-instances -outputdir utils/check-ppr/dist-install/build -c utils/check-ppr/./Main.hs -o utils/check-ppr/dist-install/build/Main.dyn_o make[1]: *** [utils/check-ppr/ghc.mk:18: utils/check-ppr/dist-install/build/Main.dyn_o] Segmentation fault (core dumped) (3h 27m) https://koji.fedoraproject.org/koji/taskinfo?taskID=94046785 (make -j2) "inplace/bin/ghc-stage2" -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -H32m -O -Wall -hide-all-packages -package-env - -i -iutils/check-exact/. -iutils/check-exact/dist-install/build -Iutils/check-exact/dist-install/build -iutils/check-exact/dist-install/build/check-exact/autogen -Iutils/check-exact/dist-install/build/check-exact/autogen -optP-include -optPutils/check-exact/dist-install/build/check-exact/autogen/cabal_macros.h -package-id Cabal-3.6.3.0 -package-id base-4.16.4.0 -package-id bytestring-0.11.3.1 -package-id containers-0.6.5.1 -package-id directory-1.3.6.2 -package-id filepath-1.4.2.2 -package-id ghc-9.2.5 -package-id ghc-boot-9.2.5 -package-id mtl-2.2.2 -Wall -XHaskell2010 -no-user-package-db -rtsopts -Wnoncanonical-monad-instances -outputdir utils/check-exact/dist-install/build -c utils/check-exact/./Types.hs -o utils/check-exact/dist-install/build/Types.dyn_o make[1]: *** [utils/check-exact/ghc.mk:18: utils/check-exact/dist-install/build/Types.dyn_o] Segmentation fault (core dumped) (4h 21m) https://koji.fedoraproject.org/koji/taskinfo?taskID=94034148 hadrian -j2 | Copy directory: _build/stage1/lib/arm-linux-ghc-9.2.5/rts-1.0.2/include => _build/bindist/ghc-9.2.5-arm-unknown-linux # ghc-pkg (for binary-dist-dir) Error when running Shake build system: at want, called at src/Main.hs:104:30 in main:Main * Depends on: binary-dist-dir at cmd_, called at src/Rules/BinaryDist.hs:204:9 in main:Rules.BinaryDist * Raised the exception: Development.Shake.cmd, system command failed Command line: _build/bindist/ghc-9.2.5-arm-unknown-linux/bin/ghc-pkg recache Exit code: -11 Stderr: (2h 46m) https://koji.fedoraproject.org/koji/taskinfo?taskID=94021599 (hadrian -j) | Copy directory: _build/stage1/lib/arm-linux-ghc-9.2.5/rts-1.0.2/include => _build/bindist/ghc-9.2.5-arm-unknown-linux # ghc-pkg (for binary-dist-dir) Error when running Shake build system: at want, called at src/Main.hs:104:30 in main:Main * Depends on: binary-dist-dir at cmd_, called at src/Rules/BinaryDist.hs:204:9 in main:Rules.BinaryDist * Raised the exception: Development.Shake.cmd, system command failed Command line: _build/bindist/ghc-9.2.5-arm-unknown-linux/bin/ghc-pkg recache Exit code: -11 Stderr: (4h 44m) https://koji.fedoraproject.org/koji/taskinfo?taskID=94010539 (perf hadrian) | Copy directory: _build/stage1/lib/arm-linux-ghc-9.2.5/rts-1.0.2/include => _build/bindist/ghc-9.2.5-arm-unknown-linux # ghc-pkg (for binary-dist-dir) Error when running Shake build system: at want, called at src/Main.hs:104:30 in main:Main * Depends on: binary-dist-dir at cmd_, called at src/Rules/BinaryDist.hs:204:9 in main:Rules.BinaryDist * Raised the exception: Development.Shake.cmd, system command failed Command line: _build/bindist/ghc-9.2.5-arm-unknown-linux/bin/ghc-pkg recache Exit code: -11 Stderr: Additional info: ghc-9.2.4 built okay, so it is bit unexpected: I need to compare the buildroots to see if anything significant changed.
(In reply to Jens Petersen from comment #0) > I need to compare the buildroots to see if anything significant changed. The biggest obvious changes seems to be gcc 12.1.1 -> 12.2.1, and more obvious kernel is now 6.0! Shrug
Just for completeness, hadrian -j1 also fails https://koji.fedoraproject.org/koji/taskinfo?taskID=94074987 | Copy directory: _build/stage1/lib/arm-linux-ghc-9.2.5/rts-1.0.2/include => _build/bindist/ghc-9.2.5-arm-unknown-linux # ghc-pkg (for binary-dist-dir) Error when running Shake build system: at want, called at src/Main.hs:104:30 in main:Main * Depends on: binary-dist-dir at cmd_, called at src/Rules/BinaryDist.hs:204:9 in main:Rules.BinaryDist * Raised the exception: Development.Shake.cmd, system command failed Command line: _build/bindist/ghc-9.2.5-arm-unknown-linux/bin/ghc-pkg recache Exit code: -11 Stderr:
Same ghc-pkg failure under hadrian too for F35. https://koji.fedoraproject.org/koji/taskinfo?taskID=94087511
FEDORA-2022-1a58ea21a4 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-1a58ea21a4
FEDORA-2022-f45c648112 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f45c648112
FEDORA-2022-1a58ea21a4 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-1a58ea21a4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-1a58ea21a4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-f45c648112 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-f45c648112` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f45c648112 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2022-e8a8f0a151 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e8a8f0a151
A quick ghc9.4 build also fails: https://koji.fedoraproject.org/koji/taskinfo?taskID=95772622 # ghc-pkg (for binary-dist-dir) Development.Shake.cmd, system command failed Command line: _build/bindist/ghc-9.4.4-arm-unknown-linux/bin/ghc-pkg recache Exit code: -11
Closing this as armv7hl is no longer supported as of F37