[Jamvm-general] Error building JAMVM on Mac
Brought to you by:
rlougher
From: Anitha B G. <ani...@gm...> - 2014-10-08 17:41:47
|
Hi I took the latest jamvm and tried to make it on my macbook pro. I see following errors. Looks like it is using x86_64 to build in i386. Any idea what is going wrong? My specs are pasted at the end. SEASs-MacBook-Pro:jamvm-1.5.4 anithagollamudi$ make Making all in src /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in os Making all in darwin Making all in i386 /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../src -g -O2 -MT dll_md.lo -MD -MP -MF .deps/dll_md.Tpo -c -o dll_md.lo dll_md.c gcc -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../src -g -O2 -MT dll_md.lo -MD -MP -MF .deps/dll_md.Tpo -c dll_md.c -fno-common -DPIC -o .libs/dll_md.o dll_md.c:70:19: error: invalid operand for instruction asm volatile ("subl %0,%%esp" :: "r" ((aligned - tot_args) * sizeof(u4)) ^ <inline asm>:1:7: note: instantiated into assembly here subl %rdx,%esp ^~~~~ dll_md.c:74:23: error: instruction requires: Not 64-bit mode asm volatile ("pushl %0" :: "m" (*--opntr) : "sp"); ^ <inline asm>:1:2: note: instantiated into assembly here pushl (%rdx) ............... $ gcc -v Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix .......... kern.version: Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 machdep.cpu.brand_string: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz -- Anitha -- Anitha |