GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unused function warnings during mimalloc build on NetBSD · Issue #123826 · python/cpython

Unused function warnings during mimalloc build on NetBSD #123826

New issue
Copy link
New issue
Copy link
Closed
Closed
Unused function warnings during mimalloc build on NetBSD#123826
Copy link
Labels
3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixesOS-netbsdbuildThe build process and cross-buildThe build process and cross-build

Description

@furkanonder
furkanonder
opened on Sep 8, 2024
Issue body actions

Bug description:

gcc -pthread -c -fno-strict-overflow -Wsign-compare -g -Og -Wall  -O2  -fstack-protector-strong -Wtrampolines -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden  -I./Include/internal -I./Include/internal/mimalloc  -I. -I./Include    -DPy_BUILD_CORE -o Objects/setobject.o Objects/setobject.c
--- Objects/obmalloc.o ---
In file included from Objects/mimalloc/prim/prim.c:22,
                 from Objects/mimalloc/static.c:37,
                 from Objects/obmalloc.c:22:
Objects/mimalloc/prim/unix/prim.c:76:12: warning: 'mi_prim_access' defined but not used [-Wunused-function]
   76 | static int mi_prim_access(const char *fpath, int mode) {
      |            ^~~~~~~~~~~~~~
Objects/mimalloc/prim/unix/prim.c:73:12: warning: 'mi_prim_close' defined but not used [-Wunused-function]
   73 | static int mi_prim_close(int fd) {
      |            ^~~~~~~~~~~~~
Objects/mimalloc/prim/unix/prim.c:70:16: warning: 'mi_prim_read' defined but not used [-Wunused-function]
   70 | static ssize_t mi_prim_read(int fd, void* buf, size_t bufsize) {
      |                ^~~~~~~~~~~~
Objects/mimalloc/prim/unix/prim.c:67:12: warning: 'mi_prim_open' defined but not used [-Wunused-function]
   67 | static int mi_prim_open(const char* fpath, int open_flags) {
      |            ^~~~~~~~~~~~

OS: NetBSD 10.0 amd64

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

  • gh-123826: Fix Unused Static Warnings in Objects/mimalloc/prim/unix/prim.c #123827
  • [3.13] gh-123826: Fix unused function warnings in mimalloc on NetBSD (GH-123827) #123875

Activity

  1. furkanonder
    added
    buildThe build process and cross-buildThe build process and cross-build
    3.13only security fixesonly security fixes
    3.14bugs and security fixesbugs and security fixes
    on Sep 8, 2024
  2. furkanonder
    added a commit that references this issue on Sep 8, 2024

    Merge branch 'main' into pythongh-123826

    57af5d2
  3. colesbury
    added a commit that references this issue on Sep 9, 2024

    gh-123826: Fix unused function warnings in mimalloc on NetBSD (#123827)

    4a6b1f1
  4. colesbury
    added
    needs backport to 3.13only security fixesonly security fixes
    and removed
    needs backport to 3.13only security fixesonly security fixes
    on Sep 9, 2024
  5. miss-islington
    added a commit that references this issue on Sep 9, 2024

    pythongh-123826: Fix unused function warnings in mimalloc on NetBSD (p…

    85fd9bd
  6. diegorusso
    added a commit that references this issue on Sep 10, 2024

    pythongh-123826: Fix unused function warnings in mimalloc on NetBSD (p…

    c0ba85f
  7. Yhg1s
    added a commit that references this issue on Sep 30, 2024

    [3.13] gh-123826: Fix unused function warnings in mimalloc on NetBSD (G…

    a1a4cfc
  8. colesbury
    closed this as completedon Oct 1, 2024
  9. furkanonder
    added
    OS-netbsd
    on Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixesOS-netbsdbuildThe build process and cross-buildThe build process and cross-build

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.