Your message dated Fri, 09 Aug 2024 01:49:09 +0000 with message-id <E1scEkf-001Nai-Tl@fasolo.debian.org> and subject line Bug#1078222: fixed in cudf 0.10-5 has caused the Debian Bug report #1078222, regarding cudf FTBFS on armel/m68k/powerpc/sh4: undefined reference to `__atomic_* 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 owner@bugs.debian.org immediately.) -- 1078222: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078222 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: cudf FTBFS on armel/m68k/powerpc/sh4: undefined reference to `__atomic_*
- From: Adrian Bunk <bunk@debian.org>
- Date: Thu, 08 Aug 2024 17:14:29 +0300
- Message-id: <[🔎] 172312646979.6638.2654211124287237030.reportbug@localhost>
Source: cudf Version: 0.10-4 Severity: serious Tags: ftbfs https://buildd.debian.org/status/logs.php?pkg=cudf&ver=0.10-4%2Bb2 ... make -C c-lib all make[3]: Entering directory '/<<PKGBUILDDIR>>/c-lib' ocamlfind ocamlc -package unix,extlib -linkpkg -I ../_build/install/default/lib/cudf/ ../_build/install/default/lib/cudf/cudf.cma cudf_c.ml ocamlfind ocamlc -package unix,extlib -linkpkg -output-obj -o cudf-caml.o ../_build/install/default/lib/cudf/cudf.cma cudf_c.cmo cc -Wall -DG_LOG_DOMAIN=\"libCUDF\" -I . -I /usr/lib/arm-linux-gnueabi/ocaml/5.2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabi/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c caml_hash_variant.c > dummy.ml ocamlc -o dummy.o -output-obj dummy.ml cc -Wall -DG_LOG_DOMAIN=\"libCUDF\" -o caml_hash_variant caml_hash_variant.o dummy.o -L/usr/lib/arm-linux-gnueabi/ocaml/5.2.0 -lcamlrun -lzstd -lm -lcurses -ldl /usr/bin/ld: /usr/lib/arm-linux-gnueabi/ocaml/5.2.0/libcamlrun.a(fiber.b.o): in function `caml_alloc_stack': (.text+0x2a0): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: /usr/lib/arm-linux-gnueabi/ocaml/5.2.0/libcamlrun.a(fiber.b.o): in function `caml_alloc_main_stack': (.text+0x78c): undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: /usr/lib/arm-linux-gnueabi/ocaml/5.2.0/libcamlrun.a(runtime_events.b.o): in function `write_to_ring.constprop.0': (.text+0x11c): undefined reference to `__atomic_load_8' /usr/bin/ld: (.text+0x138): undefined reference to `__atomic_load_8' /usr/bin/ld: (.text+0x278): undefined reference to `__atomic_store_8' /usr/bin/ld: (.text+0x2ec): undefined reference to `__atomic_store_8' /usr/bin/ld: (.text+0x39c): undefined reference to `__atomic_store_8' /usr/bin/ld: /usr/lib/arm-linux-gnueabi/ocaml/5.2.0/libcamlrun.a(runtime_events.b.o): in function `runtime_events_create_from_stw_single.part.0': (.text+0x9ac): undefined reference to `__atomic_store_8' /usr/bin/ld: (.text+0x9c4): undefined reference to `__atomic_store_8' collect2: error: ld returned 1 exit status make[3]: *** [Makefile.variants:68: caml_hash_variant] Error 1 This is due to a gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 The usual workaround would be something like: ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k powerpc sh4)) export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed endif But this workaround would work poorly when the atomic usage is in a static library. Could findlib emit -latomic at the end of the libraries on these architectures?
--- End Message ---
--- Begin Message ---
- To: 1078222-close@bugs.debian.org
- Subject: Bug#1078222: fixed in cudf 0.10-5
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Fri, 09 Aug 2024 01:49:09 +0000
- Message-id: <E1scEkf-001Nai-Tl@fasolo.debian.org>
- Reply-to: Stéphane Glondu <glondu@debian.org>
Source: cudf Source-Version: 0.10-5 Done: Stéphane Glondu <glondu@debian.org> We believe that the bug you reported is fixed in the latest version of cudf, 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 1078222@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Stéphane Glondu <glondu@debian.org> (supplier of updated cudf 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 ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Fri, 09 Aug 2024 03:20:52 +0200 Source: cudf Architecture: source Version: 0.10-5 Distribution: unstable Urgency: medium Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> Changed-By: Stéphane Glondu <glondu@debian.org> Closes: 1078222 Changes: cudf (0.10-5) unstable; urgency=medium . * Team upload * Link c-lib with -latomic (Closes: #1078222) Checksums-Sha1: 7e4911a1e9624b2f429e596f1eb1a6919ced3a45 1973 cudf_0.10-5.dsc 846f27d3f41a1c8b7ce1ba2912561eeb44f7c3b9 6480 cudf_0.10-5.debian.tar.xz Checksums-Sha256: addb3342ec4e4273f79aef4c922576960df6cce2fa538072cd6a3a0deaaff4b7 1973 cudf_0.10-5.dsc 93e2b646b9903d8c54259c95600d87f2737cde3b0f537ba95d041b75a6c8a3e4 6480 cudf_0.10-5.debian.tar.xz Files: db6adc1e730e8d4799f68458086ce7db 1973 devel optional cudf_0.10-5.dsc 975e0e774ba44fec0b5183a2fb4995c5 6480 devel optional cudf_0.10-5.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAma1cPwSHGdsb25kdUBk ZWJpYW4ub3JnAAoJECG47vGxiTCBwIsIAI8qf4WWeTTnJ4Sk+iczKzfPVwRbO06s j7MPUBkv71tj1QzSMkddDk9dudoHmXu1wFiiMijKf8i9pmAN8DPUTYKfsoXxMVwV 6d9q04hok4A0Mn6/czmq6IMW9mq3I6jvdx2c8KjX1TfWWG07H9M7MfzTbjvEkRpk 5+CCjnoGnp+t8hyAtiwRh2ekUH45O3Cp39hKDXykb3h/TXOGWLQOeMX+jfk33UEU nXShjcYIq5lEvXDu0paVqYSlYKFOZpLW4nmd7aGvE8pyD/A0tx94Fuan/ZJmU93Q e5dIs/6Q50moEY6h8Nkz8fNfoDw7Um0x2UisvCpKGRWMyNMbqw5PUuw= =4eyy -----END PGP SIGNATURE-----Attachment: pgpjNYil0Cvi_.pgp
Description: PGP signature
--- End Message ---