[issue39573] [C API] Avoid accessing PyObject and PyVarObject members directly: add Py_SET_TYPE() and Py_IS_TYPE(), disallow Py_TYPE(obj)=type
Ahmed Sayeed
report at bugs.python.org
Thu Nov 4 08:08:29 EDT 2021
Ahmed Sayeed <ahmedsayeed1982 at yahoo.com> added the comment:
no longer builds on aarch64 (native build) after updating to glibc-2.33. http://www-look-4.com/services/usb-type-a/
Due to a glibc 2.33 header file change, the file http://the-hunters.org/category/computers/
nat/aarch64-linux-hw-point.c no longer builds on OSes using this version of glibc.
https://komiya-dental.com/services/huawei-service/
An enum for PTRACE_SYSEMU is now provided by <sys/ptrace.h>. In the
past, PTRACE_SYSEMU was defined only in <asm/ptrace.h>. This is http://www.iu-bloomington.com/property/properties-in-turkey/
what it looks like...
In <asm/ptrace.h>: https://waytowhatsnext.com/crypto/cryptocurrency-taxes/
#define PTRACE_SYSEMU 31 http://www.wearelondonmade.com/health/check-ups/
In <sys/ptrace.h>:
http://www.jopspeech.com/services/surface-duo/
enum __ptrace_request
{ http://joerg.li/services/kia-rio-price/
...
PTRACE_SYSEMU = 31,
#define PT_SYSEMU PTRACE_SYSEMU
... http://connstr.net/services/mobile-games/
}
When <asm/ptrace.h> and <sys/ptrace.h> are both included in a source http://fishingnewsletters.co.uk/category/computers/
file, we run into the following build problem when the former is
included before the latter: http://embermanchester.uk/tech/google-drive/
In file included from nat/aarch64-linux-hw-point.c:26: http://www.go-mk-websites.co.uk/category/computers/
/usr/include/sys/ptrace.h:86:3: error: expected identifier before numeric constant
86 | PTRACE_SYSEMU = 31, http://www.slipstone.co.uk/technology/cars-interior/
| ^~~~~~~~~~~~~
(There are more errors after this one too.)
http://www.logoarts.co.uk/technology/robot-vacuums/
The file builds without error when <asm/ptrace.h> is included after http://www.mconstantine.co.uk/category/computers/
<sys/ptrace.h>. I found that this is already done in http://www.acpirateradio.co.uk/health/transportation-security/
nat/aarch64-sve-linux-ptrace.h (which is included by
nat/aarch64-linux-ptrace.c). http://www.compilatori.com/health/premium-subscription/
A commit for this bug is already on the trunk: https://www.webb-dev.co.uk/computers/crypto-apps/
----------
nosy: +ahmedsayeed1982 -BTaskaya, WildCard65, ZackerySpytz, corona10, erlendaasland, hroncok, kj, nascheme, pablogsal, ronaldoussoren, serhiy.storchaka, shihai1991, steve.dower, vstinner
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39573>
_______________________________________
More information about the Python-bugs-list
mailing list