I thought I patched that (or sent a patch to someone...)

I believe it is as simple as finding the declarations of those
types (perhaps on exactly the lines you mention) 
and getting rid of the "static" declaration.

On Jan 20, 2011, at 1:22 PM, W-Mark Kubacki wrote:

> Hi,
> 
> Stackless Python 2.6.6 compiles fine on ARM (SheevaPlug), but with
> 2.7.1 or current 'release27-maint' I get the following error - even
> w/o the flags listed below - using GCC 4.3.4 or 4.4.4:
> 
> ./configure --prefix=/usr --build=armv5tel-softfloat-linux-gnueabi
> --host=armv5tel-softfloat-linux-gnueabi --mandir=/usr/share/man
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
> --localstatedir=/var/lib --with-fpectl --enable-shared --enable-ipv6
> --with-threads --enable-unicode=ucs4 --enable-stacklessfewerregisters
> --infodir=${prefix}/share/info --mandir=${prefix}/share/man
> --with-dbmliborder= --with-libc= --with-system-expat --with-system-ffi
> [... configure output...]
> make -j5 EPYTHON=python2
> [... a few lines caused by make...]
> aarmv5tel-softfloat-linux-gnueabi-gcc -pthread -c -fno-strict-aliasing
> -DSTACKLESS_FRHACK=1 -O2 -march=armv5te -pipe -combine
> -fomit-frame-pointer -ftree-builtin-call-dce -fwrapv -DNDEBUG   -I.
> -IInclude -I./Include -I./Stackless  -fPIC -DPy_BUILD_CORE -o
> Objects/descrobject.o Objects/descrobject.c
> Objects/descrobject.c:484: error: static declaration of
> ‘PyMemberDescr_Type’ follows non-static declaration
> Include/descrobject.h:79: note: previous declaration of
> ‘PyMemberDescr_Type’ was here
> Objects/descrobject.c:524: error: static declaration of
> ‘PyGetSetDescr_Type’ follows non-static declaration
> Include/descrobject.h:78: note: previous declaration of
> ‘PyGetSetDescr_Type’ was here
> make: *** [Objects/descrobject.o] Error 1
> 
> Most interestingly, I don't get that error on amd64. I have no idea
> how to work around that on ARM.
> 
> -- 
> Cheers,
> Mark.
> http://mark.ossdl.de/
> 
> System uname: 
> Linux-2.6.34-rc4-mark-01947-g5a68424-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-1.12.14
> Timestamp of tree: Thu, 20 Jan 2011 16:15:01 +0000
> app-shells/bash:     4.1_p7
> dev-lang/python:     2.6.6-r1::OSSDL
> dev-util/ccache:     2.4-r9
> dev-util/cmake:      2.8.1-r2
> sys-apps/baselayout: 1.12.14-r1
> sys-apps/sandbox:    2.4
> sys-devel/autoconf:  2.65-r1
> sys-devel/automake:  1.11.1
> sys-devel/binutils:  2.21
> sys-devel/gcc:       4.3.4, 4.4.4-r2
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool:   2.2.10
> sys-devel/make:      3.81-r2
> virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
> Repositories: gentoo OSSDL Hurrikane-Systems
> CFLAGS="-Os -march=armv5te -pipe -combine -fomit-frame-pointer
> -ftree-builtin-call-dce"
> CHOST="armv5tel-softfloat-linux-gnueabi"
> LDFLAGS="-Wl,-O1,--as-needed"
> 
> _______________________________________________
> Stackless mailing list
> [email protected]
> http://www.stackless.com/mailman/listinfo/stackless


_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to