What steps will reproduce the problem?
1. make
What is the expected output? What do you see instead?
as -o ffi_stub_darwin.o src/ffi_stub_darwin.s
ffi_stub_darwin.s:83:suffix or operands invalid for `push'
ffi_stub_darwin.s:102:suffix or operands invalid for `call'
ffi_stub_darwin.s:107:suffix or operands invalid for `pop'
ffi_stub_darwin.s:114:suffix or operands invalid for `push'
ffi_stub_darwin.s:131:suffix or operands invalid for `pop'
make: *** [ffi_stub_darwin.o] Error 1
What version of the product are you using? On what operating system?
I tried to compile ypsilon-0.9.6.update3 on Mac OS X 10.6.1 using standard gcc.
Please provide any additional information below.
I modified the Makefile to target the output for i386 architecture instead of
default x86_64 and
got the rep-loop running. My modification is marked with `!'. I have not
tested it so much,
though.
ifneq (, $(findstring Darwin, $(UNAME)))
! CXXFLAGS += -arch i386 -msse2 -mfpmath=sse
! ASFLAGS = -arch i386
CPPFLAGS += -DNO_TLS
! LDFLAGS = -arch i386
SRCS += ffi_stub_darwin.s
endif
Original issue reported on code.google.com by ken.waki...@gmail.com on 10 Nov 2009 at 8:27
Original issue reported on code.google.com by
ken.waki...@gmail.com
on 10 Nov 2009 at 8:27