Re: Help with SableVM On IA64
"Grzegorz B. Prokopski" <[email protected]> Mon, 29 Aug 2005 23:14:04 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Organization | SableVM Project http://sablevm.org |
| Message-ID | <20050830031404.GC1229@gadek> |
+++ Matt Davies [10/08/05 14:41 +1000]: > Hi Guys, > > I just downloaded sable 1.12 (ie to run eclipse) then ran ./configure > and then make. The result was: > > config.status: > linking ../.././../sablevm/src/libffi/src/ia64/ffitarget.h to > include/ffitarget.h > config.status: > error: ../.././../sablevm/src/libffi/src/ia64/ffitarget.h: file > not found > configure: error: /bin/sh > '../.././../sablevm/src/libffi/configure' failed for src/libffi > make: *** [configure-main] Error 1 > > There don't seem to be any ia64 files around. > > Strange -- I thought I read that it runs on ia64? SableVM? Sure it does. This is libffi brokenness, now fixed in SVN. Now, how can you fix it in your version? 1. cd into sablevm/src/libffi/src 2. svn co svn://svn.sablevm.org/sablevm/trunk/src/libffi/src/ia64 3. get back to SableVM SDK's root and try to compile it again. The right fix for that, which would also allow us to avoid such situations in the future would be to modify sablevm/src/libffi/Makefile.am's EXTRA_DIST section. It should NOT list all the files in src one by one, for each arch, but instead we should use some kind of $(( find $(srcdir)/src/ -name \*.S )) [ I believe make has support for such things ] to automatically include all *.S, *.h and *.c files from libffi/src directory. A patch implementing that would be welcome. Let us know how it went, Grzegorz B. Prokopski