Your message dated Thu, 30 Jul 2026 20:41:54 +0200
with message-id
<31875a114b81b78b7125d3ce31625ff99f55a555.ca...@physik.fu-berlin.de>
and subject line Re: Bug#1023649: ghc: FTBFS haskell-random powerpc (ghc
Segmentation fault)
has caused the Debian Bug report #1023649,
regarding ghc: FTBFS haskell-random powerpc (ghc Segmentation fault)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1023649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023649
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ghc
Version: 9.0.2-4
Severity: normal
Dear Maintainer,
https://buildd.debian.org/status/fetch.php?pkg=haskell-random&arch=powerpc&ver=1.2.1.1-2&stamp=1667433395&raw=0
Here is the gdb backtrace with libc6-dbg installed.
,----
| Reading symbols from
/home/marillat/haskell-random-1.2.1.1/debian/hlibrary.setup...
| (No debugging symbols found in
/home/marillat/haskell-random-1.2.1.1/debian/hlibrary.setup)
| [New LWP 9082]
| [Thread debugging using libthread_db enabled]
| Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1".
| Core was generated by `debian/hlibrary.setup build --builddir=dist-ghc'.
| Program terminated with signal SIGSEGV, Segmentation fault.
| #0 __GI_kill () at ../sysdeps/unix/syscall-template.S:122
| 122 ../sysdeps/unix/syscall-template.S: No such file or directory.
| (gdb) bt
| #0 __GI_kill () at ../sysdeps/unix/syscall-template.S:122
| #1 0x108f27b4 in exitBySignal ()
| #2 0x108f29f4 in shutdownHaskellAndSignal ()
| #3 0x1088c828 in ?? ()
| #4 0x108f55a0 in scheduleWaitThread ()
| #5 0x108f21c8 in hs_main ()
| #6 0x10007408 in main ()
| (gdb)
`----
Christian
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc64)
Kernel: Linux 6.0.0-3-powerpc64 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ghc depends on:
ii dpkg 1.21.9+b1
ii gcc 4:12.2.0-1
ii libatomic1 12.2.0-9
ii libbsd-dev 0.11.7-1
ii libc6 2.36-4
ii libc6-dev 2.36-4
ii libffi-dev 3.4.4-1
ii libffi8 3.4.4-1
ii libgmp-dev 2:6.2.1+dfsg1-1.1
ii libgmp10 2:6.2.1+dfsg1-1.1
ii libncurses-dev 6.3+20220423-2
ii libtinfo6 6.3+20220423-2
ghc recommends no packages.
Versions of packages ghc suggests:
pn ghc-doc <none>
ii ghc-prof 9.0.2-4
pn haskell-doc <none>
pn llvm-13 <none>
ii perl 5.36.0-4
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
On Fri, 2024-06-14 at 10:33 +0200, John Paul Adrian Glaubitz wrote:
> GHC 9.6.5 still fails on powerpc with the NGC enabled:
>
> # rts/include/rts/prof/LDV.h
> > Run Ghc CompileHs Stage1: rts/HeapStackCheck.cmm =>
> > _build/stage1/rts/build/cmm/HeapStackCheck.debug_o
> > Run Ghc CompileHs Stage1: rts/PrimOps.cmm =>
> > _build/stage1/rts/build/cmm/PrimOps.p_o
> > Run Ghc CompileHs Stage1: rts/Updates.cmm =>
> > _build/stage1/rts/build/cmm/Updates.thr_p_o
> > Run Ghc CompileHs Stage1: rts/Compact.cmm =>
> > _build/stage1/rts/build/cmm/Compact.thr_p_o
> > Run Ghc CompileHs Stage1: rts/Exception.cmm =>
> > _build/stage1/rts/build/cmm/Exception.o
> > Run Ghc CompileHs Stage1: rts/PrimOps.cmm =>
> > _build/stage1/rts/build/cmm/PrimOps.debug_o
> > Run Ghc CompileHs Stage1: rts/StgStartup.cmm =>
> > _build/stage1/rts/build/cmm/StgStartup.debug_p_o
> > Run Ghc CompileHs Stage1: rts/HeapStackCheck.cmm =>
> > _build/stage1/rts/build/cmm/HeapStackCheck.p_o
> > Run Ghc CompileHs Stage1: rts/StgStartup.cmm =>
> > _build/stage1/rts/build/cmm/StgStartup.thr_debug_p_o
> > Run Ghc CompileHs Stage1: rts/StgMiscClosures.cmm =>
> > _build/stage1/rts/build/cmm/StgMiscClosures.debug_o
> > Run Ghc CompileHs Stage1: rts/StgMiscClosures.cmm =>
> > _build/stage1/rts/build/cmm/StgMiscClosures.p_o
> > Run Ghc CompileHs Stage1: rts/ContinuationOps.cmm =>
> > _build/stage1/rts/build/cmm/ContinuationOps.debug_p_o
> > Run Ghc CompileHs Stage1: rts/Updates.cmm =>
> > _build/stage1/rts/build/cmm/Updates.debug_p_o
> > Run Ghc CompileHs Stage1: rts/StgStartup.cmm =>
> > _build/stage1/rts/build/cmm/StgStartup.thr_p_o
> > Run Ghc CompileHs Stage1: rts/Apply.cmm =>
> > _build/stage1/rts/build/cmm/Apply.o
> > Run Ghc CompileHs Stage1: rts/Exception.cmm =>
> > _build/stage1/rts/build/cmm/Exception.debug_o
> > Run Ghc CompileHs Stage1: rts/Apply.cmm =>
> > _build/stage1/rts/build/cmm/Apply.thr_dyn_o
> Command line: _build/stage0/bin/ghc -Wall -Wcompat -hisuf debug_p_hi -osuf
> debug_p_o -hcsuf debug_p_hc -static -prof -DDEBUG -optc-DDEBUG
> -hide-all-packages -no-user-package-db '-package-env -' '-
> package-db _build/stage1/inplace/package.conf.d' '-this-unit-id rts-1.0.2' -i
> -i/home/glaubitz/ghc-deb-9.6.5-new/ghc-9.6.5/_build/stage1/rts/build
> -i/home/glaubitz/ghc-deb-9.6.5-new/ghc-
> 9.6.5/_build/stage1/rts/build/autogen
> -i/home/glaubitz/ghc-deb-9.6.5-new/ghc-9.6.5/rts -Irts/include
> -I_build/stage1/rts/build -I_build/stage1/rts/build/include
> -I_build/stage1/rts/build/@FFIIncludeDir@
> -I_build/stage1/rts/build/@LibdwIncludeDir@ -Irts/include
> -Irts/@FFIIncludeDir@ -Irts/@LibdwIncludeDir@ -optP-include -
> optP_build/stage1/rts/build/autogen/cabal_macros.h
> -ghcversion-file=rts/include/ghcversion.h -outputdir _build/stage1/rts/build
> -fdiagnostics-color=always -Wnoncanonical-monad-instances -optc-Wno-
> error=inline -optP-Wno-nonportable-include-path -c rts/ContinuationOps.cmm -o
> _build/stage1/rts/build/cmm/ContinuationOps.debug_p_o -O2 -H32m -this-unit-id
> rts -XHaskell98 -no-global-package-db -
> package-db=/home/glaubitz/ghc-deb-9.6.5-new/ghc-9.6.5/_build/stage1/inplace/package.conf.d
> -ghcversion-file=rts/include/ghcversion.h
> -ghcversion-file=rts/include/ghcversion.h -haddock -Irts -
> I_build/stage1/rts/build '-DRtsWay="rts_debug_p"' -DFS_NAMESPACE=rts
> -DCOMPILING_RTS -DPROFILING -Wno-deprecated-flags -Wcpp-undef
> ===> Command failed with error code: 1
> ghc: panic! (the 'impossible' happened)
> GHC version 9.6.5:
> PPC.Ppr.pprInstr: JMP to ForeignLabel
> CallStack (from HasCallStack):
> panic, called at compiler/GHC/CmmToAsm/PPC/Ppr.hs:591:30 in
> ghc:GHC.CmmToAsm.PPC.Ppr
>
>
> Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
>
> Error when running Shake build system:
> at want, called at src/Main.hs:124:44 in main:Main
> * Depends on: binary-dist-dir
> at need, called at src/Rules/BinaryDist.hs:130:9 in main:Rules.BinaryDist
> * Depends on: _build/stage1/lib/package.conf.d/rts-1.0.2.conf
> at need, called at src/Rules/Register.hs:134:5 in main:Rules.Register
> * Depends on: _build/stage1/rts/build/stamp-rts-1.0.2_debug_p
> at need, called at src/Rules/Library.hs:144:3 in main:Rules.Library
> * Depends on: _build/stage1/rts/build/libHSrts-1.0.2_debug_p.a
> at need, called at src/Rules/Library.hs:220:5 in main:Rules.Library
> * Depends on: _build/stage1/rts/build/cmm/ContinuationOps.debug_p_o
> at cmd', called at src/Builder.hs:387:23 in main:Builder
> at cmdArgs, called at src/Builder.hs:540:8 in main:Builder
> at cmdArgs, called at src/Builder.hs:564:18 in main:Builder
> at cmdArgs, called at src/Builder.hs:564:18 in main:Builder
> at error, called at src/Builder.hs:609:13 in main:Builder
> * Raised the exception:
> Command failed
>
> Build failed.
This was fixed upstream in [1][2][3][4], closing.
There is another unrelated issue with runghc on powerpc though, see [5].
Adrian
> [1] https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12926
> [2] https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12881
> [3] https://gitlab.haskell.org/ghc/ghc/-/merge_requests/15423
> [4] https://gitlab.haskell.org/ghc/ghc/-/merge_requests/15440
> [5] https://gitlab.haskell.org/ghc/ghc/-/work_items/26837
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- End Message ---
_______________________________________________
Pkg-haskell-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-haskell-maintainers