Skip to content

mimalloc build fails on GNU/Hurd due to undeclared 'open' #121731

@sthibaul

Description

@sthibaul

Bug report

Bug description:

Bug description:

The compilation of mimalloc on GNU/Hurd currently fails with the following error:

In file included from ../Objects/mimalloc/prim/prim.c:22,
                 from ../Objects/mimalloc/static.c:37:
../Objects/mimalloc/prim/unix/prim.c: In function 'mi_prim_open':
../Objects/mimalloc/prim/unix/prim.c:82:10: error: implicit declaration of function 'open'; did you mean 'popen'? [-Werror=implicit-function-declaration]
   82 |   return open(fpath,open_flags);
      |          ^~~~
      |          popen

This is already fixed upstream by microsoft/mimalloc@98abfe0 . will submit a PR containing a backport

CPython versions tested on:

CPython 3.13.0 b3

CPython versions tested on:

3.13

Operating systems tested on:

Other

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixesbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy