Package: libgc
Version: 1:7.1-3
Severity: serious

Hi,

Starting with version 7.x, libgc now contains a convenience copy of
libatomic-ops in the source. This might be necessary, because it seems to
need the file atomic_ops.c to be present to build.

The problem is that Debian's libatomic-ops contains patches to support more
architectures that aren't in the convenience copy in libgc. This is serious
because it's a blocker for 542285 until the patches from Debian's version
are cherry-picked, or until the convenience copy is ripped out in some way.

This is problematic because it's led to duplicated work, since the version
of libatomic-ops in Debian has extra patches from the upstream cvs, and the
version embedded in libgc has been modified as well. Observe the
differences in the contents of libatomic_ops/src/atomic_ops/sysdeps/gcc.

Debian's libatomic-ops after the patches have been applied:

alpha.h*  arm.h*  cris.h*  hppa.h*  ia64.h*  m68k.h*  mips.h*  powerpc.h*
s390.h*  sh.h*  sparc.h*  x86_64.h*  x86.h*

Debian's libgc:

alpha.h  avr32.h  ia64.h  powerpc.h  sparc.h   x86.h
arm.h    cris.h   hppa.h  m68k.h  s390.h     x86_64.h

Notice that the libgc convenience copy has avr32 support due to:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528406

But the libatomic-ops in Debian has sh and mips support due to the work in:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336112
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547136

These should be synced in some way.

Incidentally if you want to test on mips you can use a qemu image from:
http://www.aurel32.net/info/debian_mips_qemu.php

I hope this is some help.

Regards,
Daniel

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to