[Python-checkins] r51113 - in python/trunk: Misc/NEWS setup.py

"Martin v. Löwis" martin at v.loewis.de
Mon Aug 7 13:29:40 CEST 2006


thomas.heller schrieb:
> Fix #1530448 - fix ctypes build failure on solaris 10.
> 
> The '-mimpure-text' linker flag is required when linking _ctypes.so.

This is probably not the full truth. -mimpure-text is only supported
in gcc, so this won't work with the system compiler
(SunPro/Forte/Whatever). Also, usage of -mimpure-text typically just
hides some other, deeper problem. For C code, it indicates that
-fPIC/-KPIC was missing somewhere. IIRC, this problem originated from
assembler code, and I'm uncertain what the right fix is.

Anyway, this is probably an improvement, so it should stay until
somebody comes along with a real solution.

Regards,
Martin


More information about the Python-checkins mailing list