Your message dated Wed, 30 Jul 2014 00:39:32 +0100
with message-id 
<capq4b8kidjep17upkgjdukvrjfsq8hcsodzr_hu7o5poxfe...@mail.gmail.com>
and subject line libgc: Enable ppc64el architecture
has caused the Debian Bug report #750353,
regarding libgc: Enable ppc64el architecture
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.)


-- 
750353: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750353
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgc
Version: 7.2d-6
Severity: normal

Dear Maintainer,

This bug is to track the enablement of the ppc64el architecture on libgc.  In
fact, this bug solves part of the bug#732349.

Other than that, I need to use set EXTRA_TEST_LIBS="-lpthread" (that I copied
fro Ubuntu) in order to be able to build the test binaries. Otherwise I found
this problem:

powerpc64le-linux-gnu-gcc -DHAVE_CONFIG_H   -I./include -I./include   
-fexceptions -g -O2 -fno-strict-aliasing -c -o test.o `test -f 'tests/test.c' 
|| echo './'`tests/test.c
/bin/bash ./libtool --tag=CC   --mode=link powerpc64le-linux-gnu-gcc 
-fexceptions -g -O2 -fno-strict-aliasing   -o gctest test.o ./libgc.la  
libtool: link: powerpc64le-linux-gnu-gcc -fexceptions -g -O2 
-fno-strict-aliasing -o .libs/gctest test.o  ./.libs/libgc.so
/usr/bin/ld.bfd.real: test.o: undefined reference to symbol 
'pthread_getspecific@@GLIBC_2.17'
//lib/powerpc64le-linux-gnu/libpthread.so.0: error adding symbols: DSO missing 
from command line
collect2: error: ld returned 1 exit status

Anyway, I just want to provide the patch as a reference of what we have been
using internally to be able to build libgc for ppc64el.

Index: libgc-7.2d/debian/rules
===================================================================
--- libgc-7.2d.orig/debian/rules        2013-12-23 11:28:27.000000000 +0000
+++ libgc-7.2d/debian/rules     2014-06-02 19:37:50.000000000 +0000
@@ -8,11 +8,12 @@
 LDFLAGS += -pthread
 
 %:
-       dh $@ --with pkgkde_symbolshelper
+       dh $@ --with autoreconf,pkgkde_symbolshelper
 
 override_dh_auto_configure:
        [ ! -d libatomic_ops-1.2 ] || mv libatomic_ops-1.2 libatomic_ops-1.2.bak
        autoconf
+       EXTRA_TEST_LIBS="-lpthread" \
        ./configure \
                $(CONFIG_OPTS) \
                --enable-cplusplus \
Index: libgc-7.2d/debian/control
===================================================================
--- libgc-7.2d.orig/debian/control      2014-06-02 19:51:13.000000000 +0000
+++ libgc-7.2d/debian/control   2014-06-02 19:51:29.000000000 +0000
@@ -6,7 +6,8 @@
  autoconf,
  libatomic-ops-dev (>= 7.3~),
  pkg-config,
- pkg-kde-tools
+ pkg-kde-tools,
+ dh-autoreconf
 Standards-Version: 3.9.4
 Homepage: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
 Vcs-Git: git://git.debian.org/git/collab-maint/libgc.git

Thank you,
Breno


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

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

--- End Message ---
--- Begin Message ---
Source: libgc
Source-Version: 1:7.2d-6.1

I was about to fix this for another upload that I am preparing but
it's already implemented, I think that in the version mentioned.

Breno, please check and reopen if this is not the case.


Cheers.
-- 
Manuel A. Fernandez Montecelo <[email protected]>

--- End Message ---

Reply via email to