[Xfce-bugs] [Bug 9146] New: fix build failure on ppc64

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Jul 22 17:52:35 CEST 2012


https://bugzilla.xfce.org/show_bug.cgi?id=9146

          Priority: Medium
            Bug ID: 9146
          Assignee: xfce-bugs at xfce.org
           Summary: fix build failure on ppc64
        QA Contact: nick at xfce.org
          Severity: normal
    Classification: Xfce
                OS: Linux
          Reporter: corsac at debian.org
          Hardware: Other
            Status: NEW
           Version: 4.10.0
         Component: General
           Product: Libxfce4util

Hey,

I just had a report from a Debian porter of ppc64 that libxfce4util didn't
build there because of the abicheck.sh.

The report is available at http://bugs.debian.org/682414 and says:

> libxfce4util FTBFS on ppc64, due to the ABI check test failing [1]. This
> test uses the nm binary to get the list of functions. However it looks
> for the functions in the text section, while ppc64 uses function
> descriptors, which appear in the data section.

Provided patch is:

--- libxfce4util-4.8.2.orig/libxfce4util/abicheck.sh
+++ libxfce4util-4.8.2/libxfce4util/abicheck.sh
@@ -20,5 +20,5 @@
 #

 cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DALL_FILES
${srcdir:-.}/libxfce4util.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/
PRIVATE//' | sort > expected-abi
-nm -D .libs/libxfce4util.so | grep " T\|R\|G " | cut -d ' ' -f 3 | grep -v
'^_.*' | grep -v '^ *$' | sort > actual-abi
+nm -D .libs/libxfce4util.so | grep " T\|R\|G\|D " | cut -d ' ' -f 3 | grep -v
'^_.*' | grep -v '^ *$' | sort > actual-abi
 diff -u expected-abi actual-abi && rm expected-abi actual-abi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list