-
Notifications
You must be signed in to change notification settings - Fork 0
Home
internal tracking of issues:
akonadi-contacts fails with on pasta: https://buildd.debian.org/status/logs.php?pkg=akonadi-contacts&arch=hppa
Those crashes only happen inside a qemu 32-bit linux-user emulation, but not on physical (64-bit) hardware. My assumption is, that the ghc 9.0.x versions use an assembler instruction which seems to be executed correctly on a 64-bit CPU, but fails (or works differently) on a 32-bit CPU. I think ghc 8.8.4 worked ok, but that would need more investigation.
As an example you can see here: https://buildd.debian.org/status/logs.php?pkg=haskell-filestore&arch=hppa "pasta" and "pacific" are x86 machines which run qemu-linux-user to emulate a hppa machine. On those build servers the build failed. On the other build servers the build succeeded.
When looking into the build log: https://buildd.debian.org/status/fetch.php?pkg=haskell-filestore&arch=hppa&ver=0.6.5-1%2Bb1&stamp=1655747402&raw=0 you can see that setting up ghc fails:
Setting up ghc (9.0.2-1) ... update-alternatives: using /usr/bin/runghc to provide /usr/bin/runhaskell (runhaskell) in auto mode update-alternatives: using /usr/bin/ghc to provide /usr/bin/haskell-compiler (haskell-compiler) in auto mode /usr/lib/ghc/bin/ghc-pkg: TARGET SIGILL code 2 addr = 7 Illegal instruction dpkg: error processing package ghc (--configure): installed ghc package post-installation script subprocess returned error exit status 132
The "Illegal instruction" is basically a segfault.
I've traced it down, and the instruction which fails is: /usr/lib/ghc/bin/ghc-pkg --global-package-db /usr/lib/ghc/package.conf.d recache --global
sometimes fails / sometimes not (delete char before #) (sid_hppa)deller@paq:~/build/ghc/ghc-9.0.2$ cat ../LOG.dh_auto_build | grep -av "si_code=SI_TIMER" | grep -v "Successful" # | vi -
Unterschied: cat ../LOG.dh_auto_build | grep -av "si_code=SI_TIMER" | grep -v "Successful" | QEMU_STRACE=1 grep getrlimit 2>&1 | tee p2
Check: commit c093364f4d911c1d59949b122f2d4c290986fff9 Author: Owen Anderson oanderso@google.com Date: Thu Jul 1 22:12:55 2021 +0000
fd-trans: Fix race condition on reallocation of the translation table.
Haskell error: https://buildd.debian.org/status/fetch.php?pkg=haskell-graphviz&arch=hppa&ver=2999.20.1.0-1&stamp=1658276316&raw=0 Unknown opcode: `bv %r0(%r2)