Port-arm archive

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

Re: libffi package won't build



I see there’s a patch for the arm architecture in the package. After reverting to the original file, the code compiles. Don’t know yet if it will run as well.. :) Maybe this is an old patch that is not needed anymore with gcc 4.8, etc.?

Regards,
Benjamin


On 25.05.2014, at 16:09, Benjamin Lorenz <bl%pocketservices.de@localhost> wrote:

See below. Please advise. Was trying to compile python2.7 for NetBSD/evbarm.

Regards,
Benjamin


rpi$ uname -a
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

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




Home | Main Index | Thread Index | Old Index