pkgsrc-Bugs archive

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

pkg/43106: Cannot build libffi-3.0.9 on mac68k 5.0.2 (needed to build python26)



>Number:         43106
>Category:       pkg
>Synopsis:       Cannot build libffi-3.0.9 on mac68k 5.0.2 (needed to build 
>python26)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 02 16:50:01 +0000 2010
>Originator:     Rémi Zara
>Release:        NetBSD 5.0.2
>Organization:
>Environment:
NetBSD example.org 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 18:38:34 UTC 
2010  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/mac68k/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/mac68k/compile/GENERIC
 mac68k
>Description:
libffi (which is needed by python) cannot be built. The code assumes Linux and 
makes a syscall to flush the cache. I'm not sure how to replace that on NetBSD:

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./include -Iinclude -I./src -Wall 
-g -fexceptions -O2 -MT src/m68k/ffi.lo -MD -MP -MF src/m68k/.deps/ffi.Tpo -c 
src/m68k/ffi.c  -fPIC -DPIC -o src/m68k/.libs/ffi.o
src/m68k/ffi.c:13:26: error: asm/cachectl.h: No such file or directory
src/m68k/ffi.c: In function 'ffi_prep_closure_loc':
src/m68k/ffi.c:269: error: 'SYS_cacheflush' undeclared (first use in this 
function)
src/m68k/ffi.c:269: error: (Each undeclared identifier is reported only once
src/m68k/ffi.c:269: error: for each function it appears in.)
src/m68k/ffi.c:269: error: 'FLUSH_SCOPE_LINE' undeclared (first use in this 
function)
src/m68k/ffi.c:270: error: 'FLUSH_CACHE_BOTH' undeclared (first use in this 
function)
*** Error code 1

Stop.

>How-To-Repeat:
try to buid libffi on mac68k
>Fix:



Home | Main Index | Thread Index | Old Index