public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* [Fwd: arm cross-compiler and asm errors]
@ 2009-09-24 20:08 Andrew Haley
  0 siblings, 0 replies; only message in thread
From: Andrew Haley @ 2009-09-24 20:08 UTC (permalink / raw)
  To: libffi-discuss

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: arm cross-compiler and asm errors.eml --]
[-- Type: message/rfc822, Size: 4954 bytes --]

From: "Vincent R." <forumer@smartmobili.com>
To: <gcc-help@gcc.gnu.org>
Subject: arm cross-compiler and asm errors
Date: Thu, 24 Sep 2009 21:27:22 +0200
Message-ID: <49f8e7ce96b07da8a0ef0bf9f7fc8008@mail.smartmobili.com>

Hi,

I am trying to compile libffi-3.0.8 using cegcc-4.4.0 and there are some
compilation errors
with assembler file:

arm-mingw32ce-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src
-I. -I./include -Iinclude -I./src -g -O2 -MT src/arm/sysv.lo -MD -MP -MF
src/arm/.deps/sysv.Tpo -c src/arm/sysv.S  -DDLL_EXPORT -DPIC -o
src/arm/.libs/sysv.o
src/arm/sysv.S: Assembler messages:
src/arm/sysv.S:138: Warning: .type pseudo-op used outside of .def/.endef
ignored.
src/arm/sysv.S:138: Error: junk at end of line, first unrecognized
character is `f'
src/arm/sysv.S:223: Warning: .size pseudo-op used outside of .def/.endef
ignored.
src/arm/sysv.S:223: Error: junk at end of line, first unrecognized
character is `f'
src/arm/sysv.S:233: Warning: .type pseudo-op used outside of .def/.endef
ignored.
src/arm/sysv.S:233: Error: junk at end of line, first unrecognized
character is `f'
src/arm/sysv.S:239: Error: unknown pseudo-op: `.pad'
src/arm/sysv.S:295: Warning: .size pseudo-op used outside of .def/.endef
ignored.
src/arm/sysv.S:295: Error: junk at end of line, first unrecognized
character is `f'
make[2]: *** [src/arm/sysv.lo] Error 1
make[2]: Leaving directory
`/cygdrive/z/cygming-home/Realeyes/projects/gnustep/libffi-3.0.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/cygdrive/z/cygming-home/Realeyes/projects/gnustep/libffi-3.0.8'
make: *** [all] Error 2

When I look at asm file I don't know why compiler is not happy :

137:        @ r0:   ffi_prep_args
138:        @ r1:   &ecif
139:        @ r2:   cif->bytes
140:        @ r3:   fig->flags
141:        @ sp+0: ecif.rvalue
142:        @ sp+4: fn
...

221:        .ffi_call_SYSV_end:
222:               UNWIND .fnend
223:               .size   
CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)137:

...
239:        .pad #16
...

293:        .ffi_closure_SYSV_end:
294:                UNWIND .fnend
295:                .size   
CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV)

Any idea ?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-24 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-24 20:08 [Fwd: arm cross-compiler and asm errors] Andrew Haley

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).