tech-toolchain archive

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

Re: cairo symbol check



On Tue, Jun 20, 2017 at 01:17:00PM +0200, Martin Husemann wrote:
> On Tue, Jun 20, 2017 at 01:13:38PM +0200, Thomas Klausner wrote:
> > 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/.* //"'
> 
> We should use that branch too, it may be better to test for ELF object
> format than uname -s.

I changed it to

if [ "`uname -s`" = "Linux" -o "`uname -s`" = "NetBSD" ]; then

and now the upper branch is executed, but it fails the same way.

Checking that .libs/libcairo.so has the same symbol list as cairo.def
1a2,3
> __udivti3
> __umodti3

 Thomas


Home | Main Index | Thread Index | Old Index