Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build warnings - October 2023 #110266

Closed
TabLand opened this issue Oct 3, 2023 · 6 comments
Closed

Build warnings - October 2023 #110266

TabLand opened this issue Oct 3, 2023 · 6 comments
Labels
pending The issue will be closed if no feedback is provided type-bug An unexpected behavior, bug, or error

Comments

@TabLand
Copy link
Contributor

TabLand commented Oct 3, 2023

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

@TabLand TabLand added the type-bug An unexpected behavior, bug, or error label Oct 3, 2023
@AlexWaygood
Copy link
Member

AlexWaygood commented Oct 3, 2023

./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.

@TabLand
Copy link
Contributor Author

TabLand commented Oct 3, 2023

Relates to #103186

@sobolevn
Copy link
Member

sobolevn commented Oct 3, 2023

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);
                                      

@AlexWaygood
Copy link
Member

./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)

@iritkatriel
Copy link
Member

Is there anything left to do here?

@iritkatriel iritkatriel added the pending The issue will be closed if no feedback is provided label Nov 26, 2023
@TabLand
Copy link
Contributor Author

TabLand commented Dec 3, 2023

Hi @iritkatriel,

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

Many thanks everyone!

@iritkatriel iritkatriel closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending The issue will be closed if no feedback is provided type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

4 participants