tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cairo symbol check



cairo has a self-test that checks if it exports the symbols it
expects.

On NetBSD the test fails with:
Checking that .libs/libcairo.so has the same symbol list as cairo.def
1a2,3
> __udivti3
> __umodti3
FAIL check-def.sh (exit status: 1)

The symbol extraction part looks like this (from src/check-def.sh):

if [ "`uname -s`" = "Linux" ]; then
        get_cairo_syms='( objdump -t "$so" | grep "^[^ ]* [^l.*]*[.]"; objdump -t "$so" | grep "[.]hidden.*\\<cairo"; ) | sed "s/.* //"'
else
        get_cairo_syms='nm "$so" | grep " [BCDGINRSTVW] " | cut -d" " -f3'
fi


Is something wrong with the test, or with __udivti3 and __umodti3?
 Thomas



Home | Main Index | Thread Index | Old Index