[oi-dev] hipster: runtime/python-26 refresh
Alexander Pyhalov
alp at rsu.ru
Fri Sep 6 05:24:22 UTC 2013
Alexander Pyhalov писал 06.09.2013 08:51:
> Hello, Marcel.
>
> Marcel Telka писал 05.07.2013 20:52:
> On Fri, Jul 05, 2013 at 09:46:46AM -0700, ken mays wrote:
> Hello,
>
> The python packaging in hipster wasn't bumped to the newer python 2.6.8
> nor python 2.7.3 versions from the updated oi-userland. Did you check
> that your patch works against those newer revisions as as well (it
> should, but haven't confirmed myself)
>
> Python was updated to 2.6.8 two weeks ago:
>
> http://pkg.openindiana.org/hipster/info/0/runtime%2Fpython-26%402.6.8%2C5.11-0.151.1.8.1%3A20130622T145445Z
>
> This fix is incorrect - it breaks compilation of 32-bit modules,
> because <sys/types.h> includes <sys/feature_tests.h>, which prevents
> _FILE_OFFSET_BITS definition from <python2.6/pyconfig-32.h> to take
> effect.
> I'm building illumos with SunStudio now (with this commit reverted) to
> check if issue is still present. Let's look for correct fix...
>
The issue is still present. It seems that Studio cc doesn't define _LP64
with -m64 flag, so python2.6/pyconfig.h includes wrong header. So, we
either have to distinguish 32/64 bit compilation by another macros flag
(what about __amd64 ? ) or explicitly add -D_LP64 for building 64-bit
illumos with Studio.
---
System Administrator of Southern Federal University Computer Center
More information about the oi-dev
mailing list