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 — Build warnings - October 2023 · Issue #110266 · python/cpython

Build warnings - October 2023 #110266

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Build warnings - October 2023#110266
Copy link
Labels
pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@TabLand
TabLand
opened on Oct 3, 2023
Issue body actions

Bug report

Bug description:

Building python from source returns the following warnings:

./Include/internal/pycore_call.h:185:16: warning: ‘small_stack’ may be used uninitialized [-Wmaybe-uninitialized]
./Include/internal/pycore_call.h:187:11: warning: ‘small_stack’ may be used uninitialized [-Wmaybe-uninitialized]
./Modules/_decimal/libmpdec/context.c:56: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time
./Modules/_decimal/libmpdec/io.c:348:40: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
./Modules/_xxinterpchannelsmodule.c:104:1: warning: ‘get_module_from_owned_type’ defined but not used [-Wunused-function]

commit 8c07137 (HEAD -> main, origin/main, origin/HEAD)
Date: Tue Oct 3 08:10:16 2023 +0200

Logs attached: build.log

I will aim to investigate these one by one this week

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

  • gh-110266: Fix "get_module_from_owned_type is unused" warning #110269

Activity

  1. TabLand
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Oct 3, 2023
  2. AlexWaygood commented on Oct 3, 2023

    @AlexWaygood
    AlexWaygood
    on Oct 3, 2023
    Member
    More actions

    ./Modules/_decimal/libmpdec/context.c:56: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time

    This one dates from #107287: see #107287 (comment). It's possible that the other one from ./Modules/_decimal/libmpdec might stem from the same PR.

    Reacted by Ijtaba Hussain
  3. TabLand commented on Oct 3, 2023

    @TabLand
    TabLand
    on Oct 3, 2023
    ContributorAuthor
    More actions

    Relates to #103186

  4. sobolevn commented on Oct 3, 2023

    @sobolevn
    sobolevn
    on Oct 3, 2023
    Member
    More actions

    This is strange:

    » ag get_module_from_owned_type   
    Modules/_xxinterpchannelsmodule.c
    104:get_module_from_owned_type(PyTypeObject *cls)
    2349:    PyObject *mod = get_module_from_owned_type(cls);
                                          
    
  5. AlexWaygood commented on Oct 3, 2023

    @AlexWaygood
    AlexWaygood
    on Oct 3, 2023
    Member
    More actions

    ./Modules/_decimal/libmpdec/context.c:56: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time

    This one dates from #107287: see #107287 (comment). It's possible that the other one from ./Modules/_decimal/libmpdec might stem from the same PR.

    Looks like #107524 has already been opened to suppress this warning (but it has not yet been reviewed by a core developer)

  6. sobolevn
    added 2 commits that reference this issue on Oct 3, 2023

    pythongh-110266: Fix "`get_module_from_owned_type` is unused" warning

    0e3e0f5

    pythongh-110266: Fix "`get_module_from_owned_type` is unused" warning

    3c46ef7
  7. iritkatriel commented on Nov 26, 2023

    @iritkatriel
    iritkatriel
    on Nov 26, 2023
    Member
    More actions

    Is there anything left to do here?

  8. iritkatriel
    added
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Nov 26, 2023
  9. TabLand commented on Dec 3, 2023

    @TabLand
    TabLand
    on Dec 3, 2023
    ContributorAuthor
    More actions

    Hi @iritkatriel,

    Apologies for the radio silence...
    I can no longer see these warnings in recent build logs.

    Many thanks everyone!

    Reacted by Irit Katriel
    Reacted by Alex Waygood
  10. iritkatriel
    closed this as not plannedon Dec 3, 2023
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

    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    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.