! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
fix build failure on ppc64
Status:
RESOLVED: DUPLICATE
Product:
Libxfce4util
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2012-07-22 17:52:35 CEST
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
Comment 1 Landry Breuil editbugs 2015-03-11 22:33:48 CET
Dup'in

*** This bug has been marked as a duplicate of bug 7416 ***

Bug #9146

Reported by:
Yves-Alexis Perez
Reported on: 2012-07-22
Last modified on: 2015-03-11

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
4.10.0

Attachments

Additional information