Re: [rvm-research] Running RVM fails in Mavericks

Erik Österlund <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi,

Thank you for this fix. It is working nicely now with clang. :)

After debugging RVM with the GNU gcc 4.7 under OS X, it would seem that the asm constraint putting the native thread in the ESI register, found in the bootThread function of libvm.c didn't seem to work because the contents of ESI when crashing after this was called was something completely different.

However I never got to the core of the issue but if anybody else wants to dig deeper, I think that's a good starting point.

Regards,
Erik

On 16 Apr 2014, at 15:04, Erik Brangs <[email protected]> wrote:

> Hi,
> 
> On 11.04.2014 10:31, Erik Österlund wrote:
>> I can confirm, once the -fkeep-static-consts flag has been removed, compiling from clang is straight forward and works. [..] Is this flag needed or can it be safely removed so that fellow OS X friends can compile and build JikesRVM more easily in the future?
> I've removed the flag. Let me know if you run into further issues.
> 
>> We should probably fix so compiling with GNU gcc works too under OS X, but maybe the priority of that isn't too high if clang works.
> IMHO it is likely that these kinds of compilation problems are caused by undefined behaviour in the bootimage runner code and/or other kinds of bugs.
> 
> AFAIK we don't use any compiler-specific features so the code is supposed to work with every compiler.
> 
> 
> Kind regards,
> 
> Erik Brangs
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.