[pypy-dev] pypy-1.7 and CLI

David Naylor naylor.b.david at gmail.com
Tue Dec 13 18:50:10 CET 2011


Hi,

Does pypy-1.7 support translating to the CLI backend?  

On FreeBSD I get the following error:
# mono --version
Mono JIT compiler version 2.10.6 (tarball Thu Nov 24 17:06:01 UTC 2011)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
        TLS:           normal
        SIGSEGV:       normal
        Notification:  kqueue
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug 
        LLVM:          supported, not enabled.
        GC:            Included Boehm (with typed GC and Parallel Mark)
# /usr/local/bin/pypy translate.py --backend=cli -Ojit  targetpypystandalone.py
<snip/>
[translation:ERROR]    File "/pypy/translator/cli/query.py", line 25, in get_cli_class                                                                                                                              
[translation:ERROR]     return desc.get_cliclass()
[translation:ERROR]    File "/pypy/translator/cli/query.py", line 169, in get_cliclass                                                                                                                              
[translation:ERROR]     BASETYPE = get_ootype(self.BaseType)
[translation:ERROR]    File "/pypy/translator/cli/query.py", line 91, in get_ootype                                                                                                                                 
[translation:ERROR]     cliclass = get_cli_class(name)
[translation:ERROR]    File "/pypy/translator/cli/query.py", line 25, in get_cli_class                                                                                                                              
[translation:ERROR]     return desc.get_cliclass()
[translation:ERROR]    File "/pypy/translator/cli/query.py", line 178, in get_cliclass                                                                                                                              
[translation:ERROR]     _static_meth, ootype.StaticMethod)
[translation:ERROR]    File "/pypy/translator/cli/query.py", line 197, in group_methods                                                                                                                             
[translation:ERROR]     res[name] = overload(*meths, **attrs)
[translation:ERROR]    File "/pypy/translator/cli/dotnet.py", line 242, in __init__                                                                                                                                 
[translation:ERROR]     self._resolver = resolver(overloadings)
[translation:ERROR]    File "/pypy/rpython/ootypesystem/ootype.py", line 1290, in __init__                                                                                                                          
[translation:ERROR]     self._check_overloadings()
[translation:ERROR]    File "/pypy/rpython/ootypesystem/ootype.py", line 1297, in _check_overloadings                                                                                                               
[translation:ERROR]     raise TypeError, 'Bad overloading'
[translation:ERROR]  TypeError: Bad overloading

Regards,

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20111213/e5ba2665/attachment.pgp>


More information about the pypy-dev mailing list