public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* Asm errors when cross-compiling to arm-eabi
@ 2019-11-10  0:50 Henk Schurink
  2019-11-10  8:20 ` Florian Weimer
  0 siblings, 1 reply; 4+ messages in thread
From: Henk Schurink @ 2019-11-10  0:50 UTC (permalink / raw)
  To: libffi-discuss

Hello,

I keep encountering an error when trying to cross-compile libffi for
ARM-eabi:

$ git clone https://github.com/libffi/libffi && cd libffi
$ ./configure --build=x86_64-linux-gnu --host=arm-eabi --prefix=/data/build
--enable-static
$ make
...
../src/arm/sysv.S: Assembler messages:
../src/arm/sysv.S:111: Error: unknown pseudo-op: `.syntax'
../src/arm/sysv.S:151: Error: unknown pseudo-op: `.arm'
../src/arm/sysv.S:151: Error: junk at end of line, first unrecognized
character is `@'
../src/arm/sysv.S:152: Error: no such instruction: `stmfd sp!,{r0-r3,fp,lr}'
../src/arm/sysv.S:153: Error: junk at end of line, first unrecognized
character is `@'
...
../src/arm/sysv.S:440: Error: no such instruction: `ldr pc,[pc]'
Makefile:1335: recipe for target 'src/arm/sysv.lo' failed


Any help would be appreciated.

Best regards,
Henk Schurink

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-10 17:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10  0:50 Asm errors when cross-compiling to arm-eabi Henk Schurink
2019-11-10  8:20 ` Florian Weimer
2019-11-10 11:35   ` Henk Schurink
2019-11-10 17:41     ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).