Your message dated Sat, 14 Oct 2023 16:20:19 +0000
with message-id <[email protected]>
and subject line Bug#1052144: fixed in ghc 9.4.7-1~exp4
has caused the Debian Bug report #1052144,
regarding ghc: Needs to link against libatomic on at least m68k
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.)
--
1052144: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052144
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ghc
Version: 9.4.6-1
Severity: normal
User: [email protected]
Usertags: m68k
X-Debbugs-Cc: [email protected]
Hello!
On m68k, building ghc fails with:
"inplace/bin/ghc-stage1" -o utils/iserv/stage2_p/build/tmp/ghc-iserv-prof
-hisuf p_hi -osuf p_o -hcsuf p_hc -static -prof -H32m -O -lffi -optl-pthread
-Wall -hide-all-packages -package-env - -i -iutils/iserv/src
-iutils/iserv/stage2_p/build -Iutils/iserv/stage2_p/build
-iutils/iserv/stage2_p/build/iserv/autogen
-Iutils/iserv/stage2_p/build/iserv/autogen -Iutils/iserv/.
-Iutils/iserv/stage2_p/build/. -optP-include
-optPutils/iserv/stage2_p/build/iserv/autogen/cabal_macros.h -package-id
array-0.5.4.0 -package-id base-4.17.2.0 -package-id binary-0.8.9.1 -package-id
bytestring-0.11.5.1 -package-id containers-0.6.7 -package-id deepseq-1.4.8.0
-package-id ghci-9.4.6 -package-id libiserv-9.4.6 -package-id unix-2.7.3
-no-hs-main -XHaskell2010 -threaded -optl-Wl,--export-dynamic -no-hs-main
-no-user-package-db -rtsopts -Wnoncanonical-monad-instances -outputdir
utils/iserv/stage2_p/build -split-sections -static -prof -H32m -O -lffi
-optl-pthread -Wall -hide-all-packages -package-env - -i -iutils/iserv/src
-iutils/iserv/stage2_p/build -Iutils/iserv/stage2_p/build
-iutils/iserv/stage2_p/build/iserv/autogen
-Iutils/iserv/stage2_p/build/iserv/autogen -Iutils/iserv/.
-Iutils/iserv/stage2_p/build/. -optP-include
-optPutils/iserv/stage2_p/build/iserv/autogen/cabal_macros.h -package-id
array-0.5.4.0 -package-id base-4.17.2.0 -package-id binary-0.8.9.1 -package-id
bytestring-0.11.5.1 -package-id containers-0.6.7 -package-id deepseq-1.4.8.0
-package-id ghci-9.4.6 -package-id libiserv-9.4.6 -package-id unix-2.7.3
-no-hs-main -XHaskell2010 -threaded -optl-Wl,--export-dynamic -no-hs-main
-no-user-package-db -rtsopts -Wnoncanonical-monad-instances
utils/iserv/stage2_p/build/Main.p_o
utils/iserv/stage2_p/build/cbits/iservmain.p_o
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
Call hs_init_ghc() from your main() function to set these options.
/usr/bin/ld.bfd:
/<<PKGBUILDDIR>>/libraries/ghc-prim/dist-install/build/libHSghc-prim-0.9.1_p.a(atomic.p_o):
in function `hs_cmpxchg64':
atomic.c:(.text.hs_cmpxchg64+0x16): undefined reference to
`__sync_val_compare_and_swap_8'
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
make[2]: *** [utils/iserv/ghc.mk:104:
utils/iserv/stage2_p/build/tmp/ghc-iserv-prof] Error 1
make[2]: *** Waiting for unfinished jobs....
which indicates that the build needs to link against libatomic.
This issue has also been reported upstream [1].
Thanks,
Adrian
> [1] https://gitlab.haskell.org/ghc/ghc/-/issues/23974
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- End Message ---
--- Begin Message ---
Source: ghc
Source-Version: 9.4.7-1~exp4
Done: Ilias Tsitsimpis <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ghc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ilias Tsitsimpis <[email protected]> (supplier of updated ghc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 14 Oct 2023 15:19:29 +0300
Source: ghc
Architecture: source
Version: 9.4.7-1~exp4
Distribution: experimental
Urgency: medium
Maintainer: Debian Haskell Group
<[email protected]>
Changed-By: Ilias Tsitsimpis <[email protected]>
Closes: 1052144
Changes:
ghc (9.4.7-1~exp4) experimental; urgency=medium
.
* hadrian: Enable GHCi on all platforms
* Backport patch to use C11 atomics (Closes: #1052144)
Checksums-Sha1:
708410156091690851a9eccc98ce7fce24190306 2735 ghc_9.4.7-1~exp4.dsc
4f980939e2e62cd39776c065f965f85d32df9ca0 64584 ghc_9.4.7-1~exp4.debian.tar.xz
c9ba35bd30f7b6012e962c16704e405eedd65fbb 12146
ghc_9.4.7-1~exp4_source.buildinfo
Checksums-Sha256:
d48ac6ef61f2753062fd297a1e47e5e3b54fa25d084aec42d918406c3d0afa65 2735
ghc_9.4.7-1~exp4.dsc
9df77bab38fefa72d2467a4ef6b33007164046ca589f0f30283bb13693b7f371 64584
ghc_9.4.7-1~exp4.debian.tar.xz
8958a14d9376947f171b34114131de8e655466a8c7c23f7f34a690e33f2cce3d 12146
ghc_9.4.7-1~exp4_source.buildinfo
Files:
63684f54516da3ea0352048326525c19 2735 haskell optional ghc_9.4.7-1~exp4.dsc
edd53337fe8c70cbd6dcda94721a130e 64584 haskell optional
ghc_9.4.7-1~exp4.debian.tar.xz
7d1a6bac4dd0fb6c067ae091b6177e07 12146 haskell optional
ghc_9.4.7-1~exp4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEJ9c8pfW11+AaUTb116hngMxkQDwFAmUqvh8UHGlsaWFzdHNp
QGRlYmlhbi5vcmcACgkQ16hngMxkQDwrHg//bA+X+a9wwvVT9A/Gv/rt7dhNq3Vs
F4UimuTIqlmpynGWHDQEscK9StkMx/bxWfN0G/x1DjdqfKHWjvLyurFy3Vj8J6UK
3Kg3G5iRA74/UOxAxScaGE9AWRfse7Zz2+bkCcbmvBCcM/OXT/1oriawLErKS3Uz
snZgxMzdwNXanXkQKXoU3oM7RTuqIcDK0Sil3Q9t6MUYtGSfQ3oiFye02LLQS6+R
PXdGKBsde6YHl4ubQL49g2jhKUaDUXq0HMgPiM1ZCwWpFnK0hYQxQnFldvlXB+A7
tTID9VRT3s3xT7s/5A7pUO4rIV9/S3zxcbQ73tWz+I9s02688p/zTsV+zAM3gLC3
AspSJiElRNvbT3WbJHIP9l8O1EmCnUZ9KjZnx0H0PI0nZ+RwkwvV100XMdsbgCdn
efmy7zeEN++69UZm4yDvPsnZ0ztl4BzRxMxmzo1Wb9WnykpKLQknEb3H2zd7aYOX
/NWjRf4sfLiPO36xpDy0CmO5V/AegP+9Ox09zU51mmiKdbrDacw3cXYK1HfClmvr
RIurxFVebVjfMnS617XpQbKTTbNQCkpuL3V6eF4aYyfdI0LyAmhGHoGeIvJfpkZQ
HDaL1dRpte+t2den4+l0tFZRGFJ8u8sJj0RfwYQgRb0ihSV8grj1xUvKGqAuKKiI
NjCGIBToWB+bRCM=
=2oRl
-----END PGP SIGNATURE-----
--- End Message ---