Your message dated Mon, 07 Nov 2016 18:03:33 +0000
with message-id <[email protected]>
and subject line Bug#843136: fixed in drumgizmo 0.9.11-2
has caused the Debian Bug report #843136,
regarding drumgizmo FTBFS on mips and mipsel: error:  undefined reference to 
`__atomic_load_8'
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.)


-- 
843136: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843136
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: drumgizmo
Version: 0.9.11-1
Severity: important
Tags: sid + patch
Justification: FTBFS
User: [email protected]
Usertags: mips-patch


Package drumgizmo_0.9.11-1 FTBFS on mips and mipsel with following error:

> plugingui-plugingui.o: In function `std::atomic<double>::is_lock_free() 
> const':
> /usr/include/c++/6/atomic:212: undefined reference to `__atomic_is_lock_free'
> plugingui-plugingui.o: In function 
> `std::atomic<double>::load(std::memory_order) const':
> /usr/include/c++/6/atomic:235: undefined reference to `__atomic_load_8'
> /usr/include/c++/6/atomic:235: undefined reference to `__atomic_load_8'
> /usr/include/c++/6/atomic:235: undefined reference to `__atomic_load_8'
> /usr/include/c++/6/atomic:235: undefined reference to `__atomic_load_8'
> plugingui-plugingui.o: In function `std::atomic<double>::exchange(double, 
> std::memory_order)':
> /usr/include/c++/6/atomic:251: undefined reference to `__atomic_exchange_8'
> /usr/include/c++/6/atomic:251: undefined reference to `__atomic_exchange_8'
> plugingui-plugingui.o: In function 
> `std::atomic<double>::load(std::memory_order) const':
> /usr/include/c++/6/atomic:235: undefined reference to `__atomic_load_8'
> /usr/include/c++/6/atomic:235: undefined reference to `__atomic_load_8'
> plugingui-plugingui.o: In function `SettingsNotifier::evaluate()':
> ./plugingui/../src/settings.h:152: undefined reference to `__atomic_load_8'
> plugingui-plugingui.o: In function 
> `std::atomic<double>::load(std::memory_order) const':
> /usr/include/c++/6/atomic:235: undefined reference to `__atomic_load_8'
> /usr/include/c++/6/atomic:235: undefined reference to `__atomic_load_8'
> plugingui-plugingui.o:./plugingui/../src/settings.h:154: more undefined 
> references to `__atomic_load_8' follow
> collect2: error: ld returned 1 exit status
> Makefile:583: recipe for target 'plugingui' failed
> make[3]: *** [plugingui] Error 1

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=drumgizmo&arch=mips&ver=0.9.11-1&stamp=1478043812

The problem is in configure.ac file. Code used for checking is libatomic needed 
to link 
always returns the same result. For mips and mipsel test passes but the build 
fails because of missing libatomic.
I have changed that test to provide linking with libatomic as needed.

Patch which corrects this test and resolves this issue is attached.
With this patch package builds successfully on mips*, i386 and amd64 
architectures.

Regards,
Radovan
--- drumgizmo-0.9.11.orig/configure.ac
+++ drumgizmo-0.9.11/configure.ac
@@ -473,11 +473,12 @@ dnl ======================
 AC_MSG_CHECKING([for the need for linkage with libatomic])
 AC_LANG_PUSH([C++])
 AC_LINK_IFELSE([AC_LANG_SOURCE[
+      #include <cstdinti>
       #include <atomic>
+      std::atomic<uintptr_t> x;
+      std::atomic<uintmax_t> y;	
       int main() {
-        struct Test { int val; };
-        std::atomic<Test> s;
-        return s.is_lock_free()?1:0;
+	return x + y;
       }
     ]],
     [AC_MSG_RESULT([no])],

--- End Message ---
--- Begin Message ---
Source: drumgizmo
Source-Version: 0.9.11-2

We believe that the bug you reported is fixed in the latest version of
drumgizmo, 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.
James Cowgill <[email protected]> (supplier of updated drumgizmo 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: Mon, 07 Nov 2016 17:03:28 +0000
Source: drumgizmo
Binary: drumgizmo
Architecture: source
Version: 0.9.11-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<[email protected]>
Changed-By: James Cowgill <[email protected]>
Description:
 drumgizmo  - Audio sampler plugin and stand-alone app that simulates a real dr
Closes: 843136 843149
Changes:
 drumgizmo (0.9.11-2) unstable; urgency=medium
 .
   * Team upload.
   * Use sse2 on amd64 instead of sse3. (Closes: #843149)
 .
   [ Radovan Birdic ]
   * Ensure libatomic test checks for large integers. Fixes FTBFS on
     mips/mipsel. (Closes: #843136)
Checksums-Sha1:
 778cb2de5354b3a37d4d9c824cd03df0971445c8 2169 drumgizmo_0.9.11-2.dsc
 4ccd1caeb3b194a18713a830c40ce3bc6333aa0a 9056 drumgizmo_0.9.11-2.debian.tar.xz
Checksums-Sha256:
 e923bb4836d26a8cc4bb7aab9523288084f7bd32e7553ab00a215f15be9c9c35 2169 
drumgizmo_0.9.11-2.dsc
 02fcf2e02c5d0343875a84f7fecd0a29125029f64cdd707bf9ff6bc0a05420c7 9056 
drumgizmo_0.9.11-2.debian.tar.xz
Files:
 634303e5e17f0a42b1a45a0f7fee4b4a 2169 sound optional drumgizmo_0.9.11-2.dsc
 27da3e9cdb970ee5c638075e37afd7fb 9056 sound optional 
drumgizmo_0.9.11-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYIL0ZAAoJEMfxZ23qLQHvtpgP/2KCy6BdDAFqyLkNQLqvJzhn
Kxfwix1u/IcY5IOzm2DZcdHGnsN8TA/g20TaDMY5/8oVIRSgr0SlAO0POfNiRXbe
ZEuLK9A96MbxPWJMdOEWnaRdb7TDllS3poYg2BzD3kCKeD865cjMm6NCjiFmghnV
/By2g8yfab0RP0LSJ2K+oNQuLnMojq2Ii2xMsgplAtB4Ris3XyHRy6NpCuaMey9y
UmumfWHuyZiGZCXlml5VrJJuV9G2oKaWtWr8XLcYLiYgGBsgqcvwhlV9FhKqXsNh
vjoRH60Qclm7IEMf1uqdHKRDROt14g3IeJW4vtPW2Rc+7bDCXAqpHhAMewZICqEP
0TrkEGOew440FjvcKW8bgaJGidaWurV6yuESy+gWFXXezK69P5iHfP5Sn4gHg4h0
aL/Km4OCDAKNCR1AO3ak4F9rosc5y1RPnt4Pql7m8qczZSz4YtgPK+2gbZmpPviN
6FdgL8H9xSDqB7HCqPXiqvonxPLCzrej0SgbLv10VnAElVzJbBHTRB5nFeqwC/69
q+U/UiKIjsBS20D00vLxhy/yGn280KS2r5f0RKnRF27p9p4IGl6TRzBO2IonvxIS
+IsxOoxw/FVkl/rgzO7OyusXa3aesdQAy0TkVFLHDAVfmYkC7SDSOtTzpL6ld30l
kAj+FtQgqaX9219GTz1k
=123x
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to