You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[2.5 regression] ctypes fails to build on arm-linux-gnu #48553
gcc -pthread -fPIC -fno-strict-aliasing -g -Wall -Wstrict-prototypes -I.
-I/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/./Include
-Ibuild/temp.linux-armv5tel-2.5/libffi/include
-Ibuild/temp.linux-armv5tel-2.5/libffi
-I/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/libffi/src
-I. -IInclude -I./Include -I/usr/local/include
-I/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Include
-I/home/pybot/buildarea-arm/2.5.klose-linux-arm/build -c
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.c
-o
build/temp.linux-armv5tel-2.5/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.o
In file included from
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.c:127:
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/ctypes.h:72:
error: expected specifier-qualifier-list before 'ffi_closure'
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.c:
In function 'CFuncPtr_new':
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.c:2955:
error: 'CThunkObject' has no member named 'pcl'
this is a regression compared to 2.5.2. Not seen on 2.6 or 3.0. Please
consider a fix before 2.5.3 is released.
Is this really a regression? I do not think so; the libffi library
included with the Python 2.5 ctypes does not support closures on the
arm. See file Modules/_ctypes/libffi/src/arm/ffitarget.h, it contains
'#define FFI_CLOSURES 0'.
loewis commented on Dec 10, 2008
loewismannequin
Mannequin
More actions
The question is whether it used to build in 2.5.2, but doesn't build
anymore now. If that's what happening, it is a regression.
It seems that ffi_info moved into ctypes.h: could that have caused the
breakage?
It seems that ffi_info moved into ctypes.h: could that have caused the
breakage?
Not sure what you mean exactly (there is no ffi_info in ctypes.h), but I
assume you are referring to svn rev. 62504?
loewis commented on Dec 10, 2008
loewismannequin
Mannequin
More actions
That's the revision I meant, yes. It seems that ffi_info just got
renamed, so I misread the change. In any case, it's (now) unclear how
this did compile before, as ffi_closure was always referenced in ctypes.h...
loewis commented on Dec 10, 2008
loewismannequin
Mannequin
More actions
Unfortunately, the ARM buildbot is down right now, so no tests can be
performed.
loewis commented on Dec 13, 2008
loewismannequin
Mannequin
More actions
As the ARM buildbot is still down, we have no way of analysing or fixing
this problem, so I'm closing this as "won't fix".
Activity
doko42 commentedon Nov 12, 2008
ctypes fails to build on arm-linux-gnu, see
http://python.org/dev/buildbot/2.5/ARM Linux 2.5/builds/3/step-compile/0
gcc -pthread -fPIC -fno-strict-aliasing -g -Wall -Wstrict-prototypes -I.
-I/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/./Include
-Ibuild/temp.linux-armv5tel-2.5/libffi/include
-Ibuild/temp.linux-armv5tel-2.5/libffi
-I/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/libffi/src
-I. -IInclude -I./Include -I/usr/local/include
-I/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Include
-I/home/pybot/buildarea-arm/2.5.klose-linux-arm/build -c
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.c
-o
build/temp.linux-armv5tel-2.5/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.o
In file included from
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.c:127:
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/ctypes.h:72:
error: expected specifier-qualifier-list before 'ffi_closure'
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.c:
In function 'CFuncPtr_new':
/home/pybot/buildarea-arm/2.5.klose-linux-arm/build/Modules/_ctypes/_ctypes.c:2955:
error: 'CThunkObject' has no member named 'pcl'
this is a regression compared to 2.5.2. Not seen on 2.6 or 3.0. Please
consider a fix before 2.5.3 is released.
warsaw commentedon Nov 21, 2008
Deferring until 3.0 final is out.
loewis commentedon Dec 10, 2008
Thomas, do you have an idea what might be causing this problem, or a
proposal how to resolve it?
theller commentedon Dec 10, 2008
Is this really a regression? I do not think so; the libffi library
included with the Python 2.5 ctypes does not support closures on the
arm. See file Modules/_ctypes/libffi/src/arm/ffitarget.h, it contains
'#define FFI_CLOSURES 0'.
loewis commentedon Dec 10, 2008
The question is whether it used to build in 2.5.2, but doesn't build
anymore now. If that's what happening, it is a regression.
It seems that ffi_info moved into ctypes.h: could that have caused the
breakage?
theller commentedon Dec 10, 2008
Not sure what you mean exactly (there is no ffi_info in ctypes.h), but I
assume you are referring to svn rev. 62504?
loewis commentedon Dec 10, 2008
That's the revision I meant, yes. It seems that ffi_info just got
renamed, so I misread the change. In any case, it's (now) unclear how
this did compile before, as ffi_closure was always referenced in ctypes.h...
loewis commentedon Dec 10, 2008
Unfortunately, the ARM buildbot is down right now, so no tests can be
performed.
loewis commentedon Dec 13, 2008
As the ARM buildbot is still down, we have no way of analysing or fixing
this problem, so I'm closing this as "won't fix".