I guess this is not expcted.

View: New views
6 Messages — Rating Filter:   Alert me  

I guess this is not expcted.

by Friedrich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well after a long time I tried again to install Etoile.
It was quite few hours of work and the Melodie stuff still is not
included becuse the libmgeg4 stuff can not be compiled cleanly with
some newer gcc (I'm using 4.3), however I got the rest compiled but
now if I'm trying to run Smalltalk I just get an segmentation
violation

Just one example:
 sh runtest.sh TestSimpleSelect
------------------------------------------------------
Test: TestSimpleSelect
runtest.sh: line 25: 20186 Speicherzugriffsfehler  (core dumped) ( edlc -f test.st > results.txt 2> /dev/null )
TestSimpleSelect: FAIL (crash)

I do not get any backtrace not the chance that I just reach main.

I think this qualifies as a sever bug.

My System is a XenLinux Kernel 2.6.x
Linux fxen 2.6.26-2-xen-amd64


With best regards
Friedrich

--
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus

_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss

Re: I guess this is not expcted.

by David Chisnall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you are using a 64-bit platform, then you need a 64-bit version of  
the MsgSendSmallInt bitcode file in LanguageKit/CodeGen.  You will  
need a recent svn version of clang installed to generate this.

David

On 16 May 2009, at 11:02, Friedrich Dominicus wrote:

> Well after a long time I tried again to install Etoile.
> It was quite few hours of work and the Melodie stuff still is not
> included becuse the libmgeg4 stuff can not be compiled cleanly with
> some newer gcc (I'm using 4.3), however I got the rest compiled but
> now if I'm trying to run Smalltalk I just get an segmentation
> violation
>
> Just one example:
> sh runtest.sh TestSimpleSelect
> ------------------------------------------------------
> Test: TestSimpleSelect
> runtest.sh: line 25: 20186 Speicherzugriffsfehler  (core dumped)  
> ( edlc -f test.st > results.txt 2> /dev/null )
> TestSimpleSelect: FAIL (crash)
>
> I do not get any backtrace not the chance that I just reach main.
>
> I think this qualifies as a sever bug.
>
> My System is a XenLinux Kernel 2.6.x
> Linux fxen 2.6.26-2-xen-amd64
>
>
> With best regards
> Friedrich
>
> --
> Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
> Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus
>
> _______________________________________________
> Etoile-discuss mailing list
> Etoile-discuss@...
> https://mail.gna.org/listinfo/etoile-discuss


_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss

Re: I guess this is not expcted.

by Niels Grewe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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).
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.

regards


Niels

_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss

Re: I guess this is not expcted.

by Friedrich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David Chisnall <theraven@...> writes:

> If you are using a 64-bit platform, then you need a 64-bit version of  
> the MsgSendSmallInt bitcode file in LanguageKit/CodeGen.  You will  
> need a recent svn version of clang installed to generate this.
Well thank, this is nothing I could find on the Wiki. Maybe it would
be a good idea to extend the wiki and actualize it....

Regards
Friedrich

--
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus

_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss

Re: I guess this is not expcted.

by Friedrich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Niels Grewe <niels.grewe@...> writes:

> 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).
> 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.
Just so much about that. I did not get it all compiled but while
excludin the mpeg4 part at least the others stuff could get
compiled. But it has took hours.....

Regards
Friedrich

--
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus

_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss

Re: I guess this is not expcted.

by David Chisnall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss