Your message dated Sat, 19 Nov 2005 17:32:08 -0800 with message-id <[EMAIL PROTECTED]> and subject line Bug#338442: fixed in libatomic-ops 1.1-1 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 27 Oct 2005 22:44:14 +0000 >From [EMAIL PROTECTED] Thu Oct 27 15:44:14 2005 Return-path: <[EMAIL PROTECTED]> Received: from mx02.qsc.de [213.148.130.14] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1EVGTm-0002nQ-00; Thu, 27 Oct 2005 15:44:14 -0700 Received: from port-195-158-169-21.dynamic.qsc.de ([195.158.169.21] helo=hattusa.textio) by mx02.qsc.de with esmtp (Exim 3.35 #1) id 1EVGTH-00020N-00 for [EMAIL PROTECTED]; Fri, 28 Oct 2005 00:43:43 +0200 Received: from ths by hattusa.textio with local (Exim 4.54) id 1EVGTG-000263-9P for [EMAIL PROTECTED]; Fri, 28 Oct 2005 00:43:42 +0200 Date: Fri, 28 Oct 2005 00:43:42 +0200 To: [EMAIL PROTECTED] Subject: [mips/mipsel] FTBFS due to missing arch-specific implementation Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 From: Thiemo Seufer <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 Package: libatomic-ops Version: 1.0-3 Tags: patch Libatomic-ops currently FTBFS on mips/mipsel because there is no arch-specific implementation, and the generic pthread isn't configured. The appended patch adds a basic implementation for linux. Thiemo --- libatomic-ops-1.0.away/src/atomic_ops/sysdeps/Makefile.am 2005-08-03 02:05:18.000000000 +0200 +++ libatomic-ops-1.0/src/atomic_ops/sysdeps/Makefile.am 2005-10-27 20:59:59.000000000 +0200 @@ -26,7 +26,7 @@ nobase_sysdep_HEADERS= generic_pthread.h gcc/alpha.h gcc/arm.h gcc/x86.h \ gcc/hppa.h gcc/ia64.h \ gcc/powerpc.h gcc/sparc.h \ - gcc/hppa.h gcc/m68k.h gcc/s390.h \ + gcc/hppa.h gcc/m68k.h gcc/mips.h gcc/s390.h \ gcc/ia64.h gcc/x86_64.h gcc/cris.h \ \ icc/ia64.h \ --- libatomic-ops-1.0.away/src/atomic_ops/sysdeps/gcc/mips.h 1970-01-01 01:00:00.000000000 +0100 +++ libatomic-ops-1.0/src/atomic_ops/sysdeps/gcc/mips.h 2005-10-28 00:11:19.000000000 +0200 @@ -0,0 +1,65 @@ +/* + * Copyright (c) 2005 Thiemo Seufer <[EMAIL PROTECTED]> + * + * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED + * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. + * + * Permission is hereby granted to use or copy this program + * for any purpose, provided the above notices are retained on all copies. + * Permission to modify the code and to distribute modified code is granted, + * provided the above notices are retained, and a notice that the code was + * modified is included with the above copyright notice. + */ + +#include "../all_aligned_atomic_load_store.h" +#include "../test_and_set_t_is_ao_t.h" + +/* Data dependence does not imply read ordering. */ +#define AO_NO_DD_ORDERING + +AO_INLINE void +AO_nop_full() +{ + __asm__ __volatile__( + " .set push \n" + " .set mips2 \n" + " .set noreorder \n" + " .set nomacro \n" + " sync \n" + " .set pop " + : : : "memory"); +} + +#define AO_HAVE_nop_full + +AO_INLINE int +AO_compare_and_swap(volatile AO_t *addr, AO_t old, AO_t new_val) +{ + register int was_equal = 0; + register int temp; + + __asm__ __volatile__( + " .set push \n" + " .set mips2 \n" + " .set noreorder \n" + " .set nomacro \n" + "1: ll %0, %1 \n" + " bne %0, %4, 2f \n" + " move %0, %3 \n" + " sc %0, %1 \n" + " .set pop \n" + " beqz %0, 1b \n" + " li %2, 1 \n" + "2: " + : "=&r" (temp), "+R" (*addr), "+r" (was_equal) + : "r" (new_val), "r" (old) + : "memory"); + return was_equal; +} + +#define AO_HAVE_compare_and_swap + +/* + * FIXME: We should also implement fetch_and_add and or primitives + * directly. + */ --- libatomic-ops-1.0.away/src/atomic_ops.h 2005-08-03 02:05:18.000000000 +0200 +++ libatomic-ops-1.0/src/atomic_ops.h 2005-10-27 21:01:29.000000000 +0200 @@ -219,6 +219,9 @@ # if defined(__cris__) || defined(CRIS) # include "atomic_ops/sysdeps/gcc/cris.h" # endif +# if defined(__mips__) +# include "atomic_ops/sysdeps/gcc/mips.h" +# endif /* __mips__ */ #endif /* __GNUC__ && !AO_USE_PTHREAD_DEFS */ #if defined(__INTEL_COMPILER) && !defined(AO_USE_PTHREAD_DEFS) --------------------------------------- Received: (at 338442-close) by bugs.debian.org; 20 Nov 2005 01:42:26 +0000 >From [EMAIL PROTECTED] Sat Nov 19 17:42:26 2005 Return-path: <[EMAIL PROTECTED]> Received: from katie by spohr.debian.org with local (Exim 4.50) id 1Ede3s-0002kn-Lo; Sat, 19 Nov 2005 17:32:08 -0800 From: Ian Wienand <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.56 $ Subject: Bug#338442: fixed in libatomic-ops 1.1-1 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Sat, 19 Nov 2005 17:32:08 -0800 X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-CrossAssassin-Score: 2 Source: libatomic-ops Source-Version: 1.1-1 We believe that the bug you reported is fixed in the latest version of libatomic-ops, which is due to be installed in the Debian FTP archive: libatomic-ops-dev_1.1-1_i386.deb to pool/main/liba/libatomic-ops/libatomic-ops-dev_1.1-1_i386.deb libatomic-ops_1.1-1.diff.gz to pool/main/liba/libatomic-ops/libatomic-ops_1.1-1.diff.gz libatomic-ops_1.1-1.dsc to pool/main/liba/libatomic-ops/libatomic-ops_1.1-1.dsc libatomic-ops_1.1.orig.tar.gz to pool/main/liba/libatomic-ops/libatomic-ops_1.1.orig.tar.gz 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. Ian Wienand <[EMAIL PROTECTED]> (supplier of updated libatomic-ops 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: SHA1 Format: 1.7 Date: Mon, 31 Oct 2005 13:40:53 +1100 Source: libatomic-ops Binary: libatomic-ops-dev Architecture: source i386 Version: 1.1-1 Distribution: unstable Urgency: low Maintainer: Ian Wienand <[EMAIL PROTECTED]> Changed-By: Ian Wienand <[EMAIL PROTECTED]> Description: libatomic-ops-dev - A library for atomic operations (development files) Closes: 336112 338442 Changes: libatomic-ops (1.1-1) unstable; urgency=low . * New upstream release * Convert to use CDBS with patch system; move extra stuff over upstream into ./debian/patches * Closes: #336112, #338442 -- MIPS support debian/patches/02_mips.patch Thanks Thiemo! Files: b5b6f2aaf856992408270497bf506fe5 727 - optional libatomic-ops_1.1-1.dsc 359ed8a7c518eeb5f414102c7be24cf4 178581 - optional libatomic-ops_1.1.orig.tar.gz 3900ebe90ade50b4fb28984bd4f7092c 10555 - optional libatomic-ops_1.1-1.diff.gz d177b6cb137bc9a9ef960412fefed7b8 64230 libdevel optional libatomic-ops-dev_1.1-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDf8/Dso6+T7qY4V0RAlSOAKCAan005mGNtk01NSQPp/BdHSuoegCggmY3 In8KMbwuOiWc3A9k4ea0r74= =hd1n -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]