Control: reassign -1 python2.7 2.7.8-1
Control: severity -1 grave
Control: retitle -1 Bogus value for RTLD_GLOBAL in DLFCN.py

On Wed, Jul 23, 2014 at 11:17 AM, YunQiang Su <wzss...@gmail.com> wrote:
> On Wed, Jul 23, 2014 at 5:09 PM, Mathieu Malaterre <ma...@debian.org> wrote:
>> On Wed, Jul 23, 2014 at 10:54 AM, YunQiang Su <wzss...@gmail.com> wrote:
>>> import vtk # precompiled from /usr/lib/pymodules/python2.7/vtk/__init__.pyc
>>> # /usr/lib/python2.7/plat-mips64el-linux-gnuabi64/DLFCN.pyc matches
>>> /usr/lib/python2.7/plat-mips64el-linux-gnuabi64/DLFCN.py
>>> import DLFCN # precompiled from
>>
>> One more question what do you get if you execute:
>>
>> $ grep RTLD_NOW /usr/lib/python2.7/plat-mips64el-linux-gnuabi64/DLFCN.py
>> $ grep RTLD_GLOBAL /usr/lib/python2.7/plat-mips64el-linux-gnuabi64/DLFCN.py
>>
>> Same question for:
>>
>> $ grep RTLD_NOW /usr/include/mips64el-linux-gnuabi64/bits/dlfcn.h
>> $ grep RTLD_GLOBAL /usr/include/mips64el-linux-gnuabi64/bits/dlfcn.h
>>
>> I am guessing the location for dlfcn.h on your system, please correct
>> if needed. (find /usr/include/ -name dlfcn.h).
>
> syq@thor> grep RTLD_NOW
> /usr/lib/python2.7/plat-mips64el-linux-gnuabi64/DLFCN.py
> RTLD_NOW = 0x00002
> syq@thor> grep RTLD_GLOBAL
> /usr/lib/python2.7/plat-mips64el-linux-gnuabi64/DLFCN.py
> RTLD_GLOBAL = 0x00100
> syq@thor> grep RTLD_NOW
> /usr/include/mips64el-linux-gnuabi64/bits/dlfcn.h
> #define RTLD_NOW 0x0002 /* Immediate function call binding.  */
> syq@thor> grep RTLD_GLOBAL
> /usr/include/mips64el-linux-gnuabi64/bits/dlfcn.h
> #define RTLD_GLOBAL 0x0004
> /* Unix98 demands the following flag which is the inverse to RTLD_GLOBAL.

Re-assigning to python2.7 seems like it contains bogus values for your system.

Marking as grave since it prevent vtk python to be loaded.

Thanks for your help.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to