| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…re.h The pycore_semaphore.h header is included by Python/lock.c and Python/parking_lot.c. The macro `_POSIX_SEMAPHORES` was not consistently defined across the two files (due to a missing include of `<unistd.h>`) leading to different struct definitions. The RHEL8 ppc64le LTO buildbot correctly warned due to this issue.
|
!buildbot ppc64le |
Sorry, something went wrong.
|
The regex 'ppc64le' did not match any buildbot builder.Is the requested builder in the list of stable builders? |
Sorry, something went wrong.
|
!buildbot lto |
Sorry, something went wrong.
|
The regex 'lto' did not match any buildbot builder.Is the requested builder in the list of stable builders? |
Sorry, something went wrong.
|
🤖 New build scheduled with the buildbot fleet by @colesbury for commit 6e0228b 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Sorry, something went wrong.
|
Sorry, something went wrong.
Oh, maybe the search is case sensitive and you should use PPC64LE or PPC64LE RHEL8. |
Sorry, something went wrong.
|
!buildbot PPC64LE |
Sorry, something went wrong.
|
🤖 New build scheduled with the buildbot fleet by @colesbury for commit 6e0228b 🤖 The command will test the builders whose names match following regular expression: PPC64LE The builders matched are:
|
Sorry, something went wrong.
I wrote python/buildmaster-config#409 to make the search ignores the case. I got bitten multiple times by the !buildbot command which said nothing. So I added the "The regex 'lto' did not match any buildbot builder.Is the requested builder in the list of stable builders?" message (I just added the missing space ;-)). |
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
|
@vstinner, would you please review this when you get a chance? |
Sorry, something went wrong.
There was a problem hiding this comment.
Oh wait. The problem is way wider than pycore_semaphore.h! _POSIX_THREADS and _POSIX_SEMAPHORES macros are checked in Python/pthread_thread.h, pycore_condvar.h. and pycore_pythread.h without explicitly including <unistd.h>.
I wrote a wider change to attempt to fix all cases: PR gh-110139.
Sorry, something went wrong.
|
I wrote a more complete fix: PR #110139. Thanks for working on fixing these warnings! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The pycore_semaphore.h header is included by Python/lock.c and Python/parking_lot.c. The macro _POSIX_SEMAPHORES was not consistently defined across the two files (due to a missing include of <unistd.h>) leading to different struct definitions. The RHEL8 ppc64le LTO buildbot correctly warned due to this issue.