Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 668
    • Issues 668
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Mercurial Paris conference scheduled ! Main event : 2022-09-22. Call for papers deadline: 2022-06-17.

  • PyPy
  • pypypypy
  • Issues
  • #3612

Closed
Open
Created Dec 10, 2021 by Matti Picus@mattipOwner

using clang to compile numpy exposes a redefinition of Py_hash_t

Py_hash_t is being redefined. gcc doesn't mind, but clang errors. This came up when trying to build NumPy wheels for macOS https://github.com/numpy/numpy/pull/20528#issuecomment-988099113

In file included from /tmp/pypy3.8-v7.3.7-osx64/include/pypy3.8/Python.h:73:
/tmp/pypy3.8-v7.3.7-osx64/include/pypy3.8/pyport.h:68:20: \
    error: redefinition of typedef 'Py_hash_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef Py_ssize_t Py_hash_t;
                       ^
/tmp/pypy3.8-v7.3.7-osx64/include/pypy3.8/cpyext_object.h:9:14: \
    note: previous definition is here
    typedef long Py_hash_t;
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking