abicheck.sh portability

Nick Schermer nickschermer at gmail.com
Wed Mar 23 19:58:43 CET 2011


On Wed, Mar 23, 2011 at 6:55 PM, Guido Berhoerster <gber at opensuse.org> wrote:
> * Adam Miller <maxamillion at fedoraproject.org> [2011-03-23 17:57]:
>> On Wed, Mar 23, 2011 at 05:07:13PM +0100, Guido Berhoerster wrote:
>> >
>> > Hello,
>> >
>> > the abicheck.sh script included with libxfce4ui, exo, thunar,
>> > xfce4-panel, xfconf, libxfce4util, and thunar-vfs which verifies
>> > the symbol table uses non-portable constructs which currently
>> > cause buildbot builds to fail on the Solaris platform.
>> >
>> > With the common build environment Solaris nm is in a $PATH ahead
>> > of GNU nm and the "nm -D" output format differs. IMO the best
>> > solution is using the -P option which produces a POSIX-specified
>> > output format on both nm implementations, hence I'd suggest:
>> >
>> > nm -D -g -P libfoo.so | awk '$2~/^[DRT]$/&&$1~/^[^_]/{print $1}' >actual-abi

Does the version in gtk work?
http://git.gnome.org/browse/gtk+/tree/gtk/abicheck.sh

Nick



More information about the Xfce4-dev mailing list