NetBSD-Bugs archive

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

port-evbarm/48877: libffi package won't build on Raspberry Pi



>Number:         48877
>Category:       port-evbarm
>Synopsis:       compilation stops on evbarm architecture (Raspberry Pi)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 05 21:10:01 +0000 2014
>Originator:     Benjamin Lorenz
>Release:        NetBSD 6.99.41
>Organization:
        
>Environment:
        
        
System: NetBSD rpi.pocketservices.de 6.99.41 NetBSD 6.99.41 (RPI) #0: Sat May 
17 15:47:42 UTC 2014 
builds%b44.netbsd.org@localhost:/home/builds/ab/HEAD/evbarm-earmhf/201405171410Z-obj/home/builds/ab/HEAD/src/sys/arch/evbarm/compile/RPI
 evbarm
Architecture: earmhf
Machine: evbarm
>Description:
rpi# make
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Building for libffi-3.0.13
MAKE earmhf-unknown-netbsd6.99.41 :        0 * all
/usr/bin/make "AR_FLAGS="  "CC_FOR_BUILD="  "CFLAGS=-O2  -Wall -fexceptions"  
"CXXFLAGS=-O2"  "CFLAGS_FOR_BUILD="  "CFLAGS_FOR_TARGET="  
"INSTALL=/usr/bin/install -c -o root -g wheel"  "INSTALL_DATA=/usr/bin/install 
-c -o root -g wheel -m 644"  "INSTALL_PROGRAM=/usr/bin/install -c -s -o root -g 
wheel -m 755"  "INSTALL_SCRIPT=/usr/bin/install -c -o root -g wheel -m 755"  
"JC1FLAGS="  "LDFLAGS=-Wl,-R/usr/pkg/lib"  "LIBCFLAGS="  
"LIBCFLAGS_FOR_TARGET="  "MAKE=/usr/bin/make"  
"MAKEINFO=/usr/pkg/src/devel/libffi/work/.tools/bin/makeinfo "  "PICFLAG="  
"PICFLAG_FOR_TARGET="  "RUNTESTFLAGS="  "SHELL=/bin/sh"  "exec_prefix=/usr/pkg" 
 "infodir=/usr/pkg/info"  "libdir=/usr/pkg/lib"  "mandir=/usr/pkg/man"  
"prefix=/usr/pkg"  "AR=ar"  "AS=as"  "CC=gcc"  "CXX=c++"  
"LD=/usr/pkg/src/devel/libffi/work/.wrapper/bin/ld"  "NM=/usr/bin/nm -B"  
"RANLIB=ranlib"  "DESTDIR=" all-recursive
Making all in include
Making all in testsuite
Making all in man
depbase=`echo src/arm/sysv.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh 
./libtool    --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -I. -I../include 
-Iinclude -I../src  -I. -I../include -Iinclude -I../src -O2 -MT src/arm/sysv.lo 
-MD -MP -MF $depbase.Tpo -c -o src/arm/sysv.lo ../src/arm/sysv.S && mv -f 
$depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Iinclude -I../src 
-O2 -MT src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c ../src/arm/sysv.S 
 -fPIC -DPIC -o src/arm/.libs/sysv.o
../src/arm/sysv.S: Assembler messages:
../src/arm/sysv.S:227: Error: bad instruction `stmiaeq r2,{r0,r1}'
../src/arm/sysv.S:418: Error: bad instruction `stmiaeq r2,{r0,r1}'
*** Error code 1

Stop.
make[3]: stopped in /usr/pkg/src/devel/libffi/work/libffi-3.0.13/arm--netbsdelf
*** Error code 1

>How-To-Repeat:
>Fix:
I see there is a patch for the arm architecture in the package. After reverting
to the original file, the code compiles.  Maybe this is an old patch that is not
needed anymore with gcc 4.8, etc.?

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index