Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ARM Raspbian 3.x buildbot failure: "cast to pointer from integer of different size" #110330

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

Closed
sobolevn opened this issue Oct 4, 2023 · 1 comment
Labels
type-bug An unexpected behavior, bug, or error

Comments

@sobolevn
Copy link
Member

sobolevn commented Oct 4, 2023

Bug report

Comment I got from our buildbot on my unrelated PR: #110172 (comment)

Note: switching to '1465386720cd532a378a5cc1e6de9d96dd8fcc81'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 1465386720 gh-110171: `libregrtest` always sets `random.seed`  (#110172)
Switched to and reset branch 'main'

In file included from Python/executor.c:87:
Python/executor_cases.c.h: In function ‘_PyUopExecute’:
Python/executor_cases.c.h:2309:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2309 |             PyObject *descr = (PyObject *)operand;
      |                               ^
Python/executor_cases.c.h:2328:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2328 |             PyObject *descr = (PyObject *)operand;
      |                               ^
./Modules/_testcapi/heaptype_relative.c: In function ‘make_sized_heaptypes’:
./Modules/_testcapi/heaptype_relative.c:60:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   60 |                            (unsigned long long)data_ptr,
      |                            ^

make: *** [Makefile:2016: buildbottest] Error 5

Looks like there are two separate warnings.
The first one is from 5bb6f0f
And the second one is from cd9a56c

CC @gvanrossum @markshannon

@sobolevn sobolevn added the type-bug An unexpected behavior, bug, or error label Oct 4, 2023
@vstinner
Copy link
Member

I don't see this compiler warning anymore on https://buildbot.python.org/#/builders/424/builds/9650. I close the issue.

@vstinner vstinner closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants