On 16 May 2009, at 14:55, Niels Grewe wrote:

> On Sat, May 16, 2009 at 12:02:22PM +0200, Friedrich Dominicus wrote:
>> My System is a XenLinux Kernel 2.6.x
>> Linux fxen 2.6.26-2-xen-amd64
>
> This is just wild guessing: Might it be that you did not regenerate
> MsgSendSmallInt.bc (in $ETOILEROOT/Languages/LanguageKit/CodeGen/) for
> the 64bit arch? You'd need to delete the file and run 'make
> MSgSendSmallInt.bc' after compiling and installing clang (which is the
> C-language frontend for llvm).

Just so.  This is not part of the default build because it requires  
unreleased software (trunk clang) and isn't needed on 32-bit  
architectures.

> Still, I don't know whether this would suffice: I didn' get around to
> doing a clean build of the svn-tree for months now. IIRC you need to
> apply some patch to clang, but other people (David?) most certainly  
> know
> better.

I no longer have any out-of-tree diffs for clang.  All of my Objective- 
C support patches and the trap-on-overflow patch have been merged.  If  
you are using a 32-bit Linux system, you do need to patch LLVM (see  
the README in LanguageKit) because the x86 JIT is currently emitting  
broken position-independent code on Linux.

David

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à