When I try to build PyPy with MinGW, I get the following:

[translation:info] Translating target as defined by targetpypystandalone
Traceback (most recent call last):
  File "../../rpython/bin/rpython", line 20, in <module>
    main()
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\translator
\goal\translate.py", line 219, in main
    targetspec_dic, translateconfig, config, args =
parse_options_and_load_target()
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\translator
\goal\translate.py", line 155, in parse_options_and_load_target
    targetspec_dic = load_target(targetspec)
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\translator
\goal\translate.py", line 97, in load_target
    mod = __import__(specname)
  File "targetpypystandalone.py", line 7, in <module>
    from pypy.interpreter import gateway
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\pypy\interpreter\g
ateway.py", line 19, in <module>
    from pypy.interpreter.eval import Code
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\pypy\interpreter\e
val.py", line 6, in <module>
    from pypy.interpreter.baseobjspace import W_Root
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\pypy\interpreter\b
aseobjspace.py", line 6, in <module>
    from rpython.rlib import jit, types, rutf8
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\rlib\rutf8
.py", line 26, in <module>
    from rpython.rlib.unicodedata import unicodedb
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\rlib\unico
dedata\__init__.py", line 4, in <module>
    from rpython.rlib.unicodedata import unicodedb_5_2_0 as unicodedb
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\rlib\unico
dedata\unicodedb_5_2_0.py", line 6, in <module>
    from rpython.rlib.unicodedata.supportcode import (signed_ord,
_all_short,
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\rlib\unico
dedata\supportcode.py", line 2, in <module>
    from rpython.rtyper.lltypesystem.rffi import r_ushort, r_short
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\rtyper\llt
ypesystem\rffi.py", line 515, in <module>
    sizeof_c_type('__int128_t', ignore_errors=True)
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\rtyper\too
l\rfficache.py", line 38, in sizeof_c_type
    return sizeof_c_types([c_typename], **kwds)[0]
  File
"D:\eclipse-php-2022-06-R-win32-x86_64\Projects\pypy-release-pypy3.10-v7.x\rpython\rtyper\too
l\rfficache.py", line 47, in sizeof_c_types
    assert len(lines) == len(typenames_c)
AssertionError

It seems as if the ask_gcc function is broken for MinGW, and I can't tell
why at a first glance. Is a fix possible?
_______________________________________________
pypy-dev mailing list -- pypy-dev@python.org
To unsubscribe send an email to pypy-dev-le...@python.org
https://mail.python.org/mailman3/lists/pypy-dev.python.org/
Member address: arch...@mail-archive.com

Reply via email to