[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#750836: marked as done (machine/atomic.h broken, missing __compiler_membar macro)



Your message dated Wed, 17 Sep 2014 04:03:46 +0000
with message-id <E1XU6T4-0004lS-LQ@franck.debian.org>
and subject line Bug#750836: fixed in kfreebsd-kernel-headers 10.1~2
has caused the Debian Bug report #750836,
regarding machine/atomic.h broken, missing __compiler_membar macro
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.)


-- 
750836: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750836
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kfreebsd-kernel-headers
Version: 10.0~5
Severity: serious

libpcap is broken on kfreebsd since kfreebsd-kernel-headers was updated
to the FreeBSD 10 headers, which apparently include this change:

 http://svnweb.freebsd.org/base?view=revision&revision=241374

The sys/cdefs.h file shipped in libc0.1-dev doesn't include the
__compiler_membar macro, so anything that uses the atomic functions will
get a spurious undefined reference. Here's a quick test program:

| #include <sys/types.h>
| #include <sys/cdefs.h>
| #include <machine/atomic.h>
|
| int main(int argc, char **argv)
| {
| 	unsigned int p, v = 0;
| 	atomic_store_rel_int(&p, v);
| 	return 0;
| }

this gives:

| rfrancoise@falla ~ % gcc -Wall -o test test.c
| /tmp/cczzxYAr.o: In function `atomic_store_rel_int':
| test.c:(.text+0x15): undefined reference to `__compiler_membar'
| collect2: error: ld returned 1 exit status
| rfrancoise@falla ~ %

Thanks,
-- 
Romain Francoise <rfrancoise@debian.org>
http://people.debian.org/~rfrancoise/

--- End Message ---
--- Begin Message ---
Source: kfreebsd-kernel-headers
Source-Version: 10.1~2

We believe that the bug you reported is fixed in the latest version of
kfreebsd-kernel-headers, 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 750836@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Egger <christoph@debian.org> (supplier of updated kfreebsd-kernel-headers 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: SHA256

Format: 1.8
Date: Tue, 16 Sep 2014 20:40:37 -0700
Source: kfreebsd-kernel-headers
Binary: kfreebsd-kernel-headers
Architecture: source
Version: 10.1~2
Distribution: experimental
Urgency: medium
Maintainer: GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>
Changed-By: Christoph Egger <christoph@debian.org>
Description:
 kfreebsd-kernel-headers - kFreeBSD headers for development
Closes: 750836 756553
Changes:
 kfreebsd-kernel-headers (10.1~2) experimental; urgency=medium
 .
   [ Christoph Egger ]
   * Add more pf headers:
     - netpfil/pf/pf_altq.h
     - netpfil/pf/pf.h
   * Add sys/counter.h
 .
   [ Steven Chamberlain ]
   * Add to machine/atomic.h a definition for macro __compiler_membar
     not available in glibc (Closes: #750836)
   * Add net/if_pflog.h (Closes: #756553)
     - add atomic.c testcase (Romain Francoise)
   * Enable testing for -Wimplicit-function-declaration
   * Refresh patches against kfreebsd-source-10.1 10.1~svn271306-1:
     - 000_bruno_haible.diff
     - 005_register_t.diff
     - 009_inetutils.diff
     - net_if_ioctls.diff
   * Add sys/net/flowtable.h
Checksums-Sha1:
 1e1fd9ceb5d961038840b3fe3be329a05b653a10 1849 kfreebsd-kernel-headers_10.1~2.dsc
 7a725fefbbc13d2f6f82ccc37aa2d9f2f5f473c0 44960 kfreebsd-kernel-headers_10.1~2.tar.xz
Checksums-Sha256:
 48a04be32afd5c3222d68cf2741d2460aee7a34b807b4601757631647e50e31c 1849 kfreebsd-kernel-headers_10.1~2.dsc
 6c03e51c53e25d67f3e4d60d865ee59e9a2a99334cfbe9c18bd4b247ae097d1f 44960 kfreebsd-kernel-headers_10.1~2.tar.xz
Files:
 bed32659284bd7be83986dba98792561 1849 kernel standard kfreebsd-kernel-headers_10.1~2.dsc
 731d44f9ba68f5ef9384ce2f5420b829 44960 kernel standard kfreebsd-kernel-headers_10.1~2.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUGQQOAAoJEKv/7bJACMb5WZgQAKY0XuY+DnsqOoi9NOCgymMT
sePYfu9Vxiy9TQ0RbH2l/X9fRLnjUDNRhOyVwDIkzW+wM1tnqLhpsb4HI8QjKKEJ
sNw4KXTNT1xOpcxT3qU6uHZOD6eKejOIjGcOwFAi+/qSzjuoV+Ywt0IiDjAxknrW
Lw7MYqJf2PARZ0R6eevfI4oxxdWDYjWXVdCHVjw7ldKHyAzDpUU6DmrDSjLPCw5l
4MH/tn9Pnu44TftpLp/to+ihkFfI9GlcdgU10Q6xm3xkunHLcWy3RqqB+p89+if0
Zqx1t0viFecTz919bwD/LA5HKOG+FaAb/rJ5UIn+suQ3U/Vc+UFsNVydza5YWi9E
g5Y9RKLjtK9tAfMDbBENqYsm0dI0VrBWkckiQhArsaBysC5AeulZdodPjAF3btGT
3b27FJDiXSmy2hh33FQ3UyjcxxpiF05MG0VfOCx7OBqqBZkmSgdBLOpHcnJuoEd9
kKDaoZwdIVvtrLXHUXZvkL88X3pNwMh7FDPDb/Ey43RymBh5JO9DEs4q0D65CNS5
1gL5R2FQtR0StciGUv3J2nb+cYx2zs5sr6FGSw6rArTD1ZE0lHhz1/ImYjiugOgc
NBRiLdy9Vf5T/hzxIeiPc8XKdqU+DqcA7YXtOoy3v8S+pB/Q5wZUFnsMPlN4UY3n
HHPy+iEkrulwMe9I0gCC
=ddIi
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: