pkgsrc-Bugs archive

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

pkg/44901: libffi misses library reference on m68k



>Number:         44901
>Category:       pkg
>Synopsis:       libffi misses library reference on m68k
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 23 16:30:01 +0000 2011
>Originator:     Michael van Elst
>Release:        NetBSD 5.99.49
>Organization:
--
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."
>Environment:
        
        
System: NetBSD dummy 5.99.49 NetBSD 5.99.49 (DUMMY) #1: Sun Apr 17 02:18:21 
CEST 2011 
mlelstv@henery:/home/netbsd-current/obj.amiga/home/netbsd-current/src/sys/arch/amiga/compile/DUMMY
 amiga
Architecture: m68k
Machine: amiga
>Description:
The libffi package builds without errors, however the generated
library references the symbol m68k_sync_icache.

dummy# nm /usr/pkg/lib/libffi.so|grep m68k
         U m68k_sync_icache

The library however only refers to libc while that symbol is in libm68k.

dummy# ldd /usr/pkg/lib/libffi.so
/usr/pkg/lib/libffi.so:
        -lc.12 => /usr/lib/libc.so.12

as a result, programs linking with libffi.so have to explicitely link
with libm68k.

>How-To-Repeat:
Building python26 for arch/amiga fails with:

/data/pkgwrk/lang/python26/work.dummy/Python-2.6.6/Modules/_ssl.c:1036: 
warning: assignment discards qualifiers from pointer target type
*** WARNING: renaming "_ctypes" since importing it failed: 
/usr/pkg/lib/libffi.so.5: Undefined PLT symbol "m68k_sync_icache" (symnum = 10)


>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index