Message129514
Reopening and reverted the commit in r88640. The patch changes behaviour by turning the previous unrooted filename ('libc.so.6') into a full path ('/lib64/libc.so.6'). This breaks builds where multiple versions of a library are available and only one is loadable, e.g. 32-bit builds on 64-bit machines:
======================================================================
ERROR: test_load (ctypes.test.test_loading.LoaderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home2/buildbot2/slave/hg-3.x.loewis-parallel/build/Lib/ctypes/test/test_loading.py", line 26, in test_load
CDLL(libc_name)
File "/home2/buildbot2/slave/hg-3.x.loewis-parallel/build/Lib/ctypes/__init__.py", line 340, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /lib64/libc.so.6: wrong ELF class: ELFCLASS64 |
|
Date |
User |
Action |
Args |
2011-02-26 09:40:36 | pitrou | set | recipients:
+ pitrou, theller, jonash |
2011-02-26 09:40:35 | pitrou | set | messageid: <1298713235.98.0.995755035423.issue11258@psf.upfronthosting.co.za> |
2011-02-26 09:40:35 | pitrou | link | issue11258 messages |
2011-02-26 09:40:35 | pitrou | create | |
|