Bug#1090807: Fwd: ghc unimplemented SMP memory barriers on hppa architecture

Helge Deller deller at gmx.de
Thu Dec 19 13:58:54 GMT 2024


Package: haskell-ghc-lib-parser
Version: 9.6.6.20240701-1
Tags: ftbfs
Usertags: hppa

Package fails to build from source on hppa:
...
error: In file included from /usr/lib/ghc/lib/../lib/hppa-linux-ghc-9.6.6/rts-1.0.2/include/Stg.h:415,
                   from /usr/lib/ghc/lib/../lib/hppa-linux-ghc-9.6.6/rts-1.0.2/include/Rts.h:38,
                   from FFIClosures_ProfilingDisabled.hsc:9:
/usr/lib/ghc/lib/../lib/hppa-linux-ghc-9.6.6/rts-1.0.2/include/stg/SMP.h: In function ‘write_barrier’:
/usr/lib/ghc/lib/../lib/hppa-linux-ghc-9.6.6/rts-1.0.2/include/stg/SMP.h:496:2: error: #error memory

The problem stems from the "ghc" source package which needs fixing in this header file:
rts-1.0.2/include/stg/SMP.h

See bug #1090806
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090806
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SMP.h.patch
Type: text/x-patch
Size: 1101 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20241219/1ae94300/attachment.bin>


More information about the Pkg-haskell-maintainers mailing list