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: libffi won't compile on arm (without FPU support)


Kyle - I'd like to fix this for the 3.0.11 release, although I'm not
sure how to do this yet, not having access to a Mac.  I'll try
building a soft-float ARM cross compiler on Linux first, I suppose.

AG


On Mon, Dec 19, 2011 at 12:59 PM, Kyle Tinker
<ktinker@workforcesoftware.com> wrote:
> Anthony Green:
>
> I pulled both the official 3.0.10 code and the 3.0.10 that you have in your
> master (with the iOS fixes), and I can't get it to compile on my arm
> toolchain. The toolchain I'm using specifies "--without-float", which I
> think may be causing my problems. I noticed someone had a branch for iOS
> where they macroed out the .fpu vfp (sysv.S line 338), and that resolves
> some of my errors, but I'm still getting errors for flddle, fldmiadgt, etc.
>
> Will it even be possible for me to run libffi on my devices? Unfortunately,
> I don't have the necessary tools to rebuild my toolchain & gcc.
>
>
> *My GCC:*
> arm-linux-gcc -v
> Reading specs from
> /usr/local/LxNETES-3/arm-linux/lib/gcc-lib/arm-linux-uclibc/3.3.3/specs
> Configured with:
> /targets/tmp/uclibc/toolchain/gcc-3.3.x/toolchain_build_arm_nofpu/gcc-3.3.3/configure
> --prefix=/usr/local/LxNETES-3/arm-linux --build=i386-pc-linux-gnu
> --host=i386-pc-linux-gnu --target=arm-linux-uclibc --enable-languages=c,c++
> --enable-shared
> --with-gxx-include-dir=/usr/local/LxNETES-3/arm-linux/arm-linux-uclibc/include/c++
> --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls
> --enable-multilib --without-float --enable-sjlj-exceptions
> Thread model: posix
> gcc driver version 3.3.3 executing gcc version 3.3.2
>
>
> *Error Messages:*
> src/arm/sysv.S: Assembler messages:
> src/arm/sysv.S:269: Error: symbol `$0' is already defined
> src/arm/sysv.S:338: Error: unknown pseudo-op: `.fpu'
> src/arm/sysv.S:346: Error: symbol `$0' is already defined
> src/arm/sysv.S:374: Error: selected processor does not support `flddle
> d0,[ip]'
> src/arm/sysv.S:375: Error: selected processor does not support `fldmiadgt
> ip,{d0-d7}'
> src/arm/sysv.S:415: Error: selected processor does not support `fstseq
> s0,[r2]'
> src/arm/sysv.S:419: Error: selected processor does not support `fstdeq
> d0,[r2]'
> src/arm/sysv.S:424: Error: selected processor does not support `fstmiadeq
> r2,{d0-d3}'
> src/arm/sysv.S:434: Error: symbol `$0' is already defined
> src/arm/sysv.S:435: Error: selected processor does not support `fstmfdd
> sp!,{d0-d7}'
> src/arm/sysv.S:473: Error: selected processor does not support `flds
> s0,[sp]'
> src/arm/sysv.S:476: Error: selected processor does not support `fldd
> d0,[sp]'
> src/arm/sysv.S:485: Error: selected processor does not support `fldmiad
> sp,{d0-d1}'
> src/arm/sysv.S:488: Error: selected processor does not support `fldmiad
> sp,{d0-d3}'
> make[2]: *** [src/arm/sysv.lo] Error 1
> make[2]: Leaving directory
> `/home/developer/GT400/libffi-3.0.10.f22c38b-Source'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/developer/GT400/libffi-3.0.10.f22c38b-Source'
> make: *** [all] Error 2
>
>
>
>
> --
>
> *Kyle Tinker* *|* *Software Developer* *|* *WorkForce Software* *|* P: (734)
> 742-2616 *|* F: (734) 542-0635 *|* ktinker@workforcesoftware.com
> <mailto:ktinker@workforcesoftware.com>
>
> WorkForce Software — Mitigating Complexity — Ensuring Compliance — Enabling
> Strategic HR
>
> WorkForce Software
>


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