Re: [Sablevm-developer] Porting SableVM to ARM: Questions
Brought to you by:
egagnon
From: Grzegorz P. <ga...@de...> - 2002-12-03 23:43:40
|
W li=B6cie z wto, 03-12-2002, godz. 23:53, Etienne M. Gagnon pisze:=20 > Gunda Domlur wrote: > > Hi, > >=20 > > I am trying to port sableVM for ARM linux (netwinder). After looking=20 > > thru the archives, I already made the following changes > >=20 > > system.c: iflush and compare_and_swap ported to ARM > > system.h: The correct typedefs are in place > > jni_system_specific.h: Necessary changes are done. > >=20 > > Am I missing anything else ? > No. The fun part (let say not before January) will be to make the=20 > inline-threaded engine functional on ARM. Yup, I hope to have some more time next week and get it working for ia64 also (or at least push it forward a bit). > For the benefit of all subscribers: I am currently making the *final* lit= tle=20 > modifications to my thesis (as requested by the Ph.D. committee; little=20 > typos...) which I should be publishing on the Internet in a few days. Ye= p, I=20 > have successfully [:-)] passed both the written Thesis evaluation and the= oral=20 > Ph.D. defense. I already sent you congratulations... I just wanted to ask you about electronic version of your PhD. I am sure it'll be very interesting reading. I hope now you will be able to be a remove items from the TODO list one by one? :-) (by solving them of course) BTW: When does UQAM finish the term? And when are the exams? Right after new year I'd suspect? (I expect you to be busy at that time) > > Proabably a stupid question, where does the cpu type definitions (e.g. = =20 > > __ia64__) defined ?=20 > I don't know for sure, but I think it is internally generated by GCC. I = looked=20 > through config.guess and found: > #if defined (__arm) ... > You might want to try that, just in case it works. ;-) Look at that: http://lists.debian.org/debian-arm/2001/debian-arm-200102/msg00157.html <quoted piece> This fails on a modern GCC, as 'arm' and '__arm' defines aren't set. Adding '|| defined(__arm__)' in the correct place fixes things. </quoted piece> Wonder what's your compiler? However it can be that 2.95 uses __arm and __i386 as for ex. in ./src/libsablevm/system.h:67 there is: #if defined (__i386) But if the above quote is correct, then we should change it to __i386__ We should do that at least because Debian and other distros will/already have switch(ed) to gcc 3.X branch as the basic compiler. BTW: Have you tried gcc 3.X Etienne? I am a bit worried that it can break inline threading engine on every arch (only i386 currently). A thing to be checked. That's all for now, cheers... Grzegorz B. Prokopski PS: My IRC nickname is "gadek" of course. |