Hi David,

Le 10 déc. 08 à 18:06, David Chisnall a écrit :

> Hi Everyone,
>
> As of today, Smalltalk passes all of Günther's test suite, on my
> machine, running FreeBSD.  It still needs additional testing, however.
>
> I have moved the test suite into Language/SmalltalkTests in trunk.
> Once you have updated from svn and installed the new versions of
> EtoileFoundation, SmalltalkKit and LanguageKit, please do:
>
> $ sh runall.sh
>
> in the tests directory.  This will log all of the tests that pass and
> fail.  If you are on Linux and any fail, please try running them in
> the debugger - if the crash is in __objc_exec_class then please
> install the GNUstep version of libobjc - there are some bugs in the
> bundled version from GCC that have since been fixed.
>
> If you get any other test failures, please let me know.

All tests pass on Ubuntu 7.10 x86-32 with GNUstep libobjc (trunk  
r27285) and Étoilé repository r4109. I use LLVM 2.4 release and GCC  
4.1.3.

For the record, the following two tests fail with the libobjc bundled  
with GCC 4.1.3:

Test: TestBlockReturn
Segmentation fault (core dumped)
-e TestBlockReturn: FAIL (crash)

Test: TestJustAnInteger
Segmentation fault (core dumped)
-e TestJustAnInteger: FAIL (crash)

The stack trace for the TestJustAnInteger crash is:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1239865664 (LWP 2365)]
0xb6651f47 in __objc_exec_class () from /usr/lib/libobjc.so.1
(gdb) bt
#0  0xb6651f47 in __objc_exec_class () from /usr/lib/libobjc.so.1
#1  0xb507517f in ?? ()
#2  0xb5075188 in ?? ()
#3  0xb71c51d6 in CodeGenModule::compile (this=0x813eea8) at  
CodeGenModule.cpp:341
#4  0xb71d3e2d in Compile (B=0x813eea8) at LLVMCodeGenCAPI.cpp:42
#5  0xb71ad2b9 in -[LLVMCodeGen endModule] (self=0x813db60,  
_cmd=0xb7ae9458) at LKCodeGen.m:33
#6  0xb71b38bc in -[LKCompilationUnit compileWith:] (self=0x81406d0,  
_cmd=0xb7ae5c50, aGenerator=0x813db60) at LKModule.m:146
#7  0xb71afc77 in +[LKCompiler compileString:withGenerator:]  
(self=0xb7b0b660, _cmd=0xb7ae5c58, s=0x80f5628, cg=0x813db60) at  
LKCompiler.m:63
#8  0xb71afedb in +[LKCompiler compileString:] (self=0xb7b0b660,  
_cmd=0x804bbb8, s=0x80f5628) at LKCompiler.m:73
#9  0x08048ddb in jitScript (script=0x80f5628, extension=0x80f8760) at  
main.m:42
#10 0x08049474 in main (argc=3, argv=0xbfa68904) at main.m:103

Quentin.


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

Répondre à