This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile problem on NetBSD/evbarm


Turns out there’s a patch in the pkgsrc package for the arm architecture. When not applying it, using the original code, the assembler is happy. Discussing with the NetBSD maintainers now.

Thanks,
Benjamin


On 25.05.2014, at 16:38, Benjamin Lorenz <bl@pocketservices.de> 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:/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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]